diff options
author | Jeff Mahoney <jeffm@suse.com> | 2013-11-01 13:07:03 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 13:19:28 -0800 |
commit | 01e219e8069516cdb98594d417b8bb8d906ed30d (patch) | |
tree | 0e8ff696017353a46d442bff736050ad451f6f8d /fs/btrfs/sysfs.h | |
parent | 3b02a68a636400590dd6831a5fc046f0a7909a77 (diff) | |
download | linux-01e219e8069516cdb98594d417b8bb8d906ed30d.tar.bz2 |
btrfs: add ioctl to export size of global metadata reservation
btrfs filesystem df output will show the size of the metadata space
and how much of it is used, and the user assumes that the difference
is all usable space. Since that's not actually the case due to the
global metadata reservation, we should provide the full picture to the
user.
This patch adds an ioctl that exports the size of the global metadata
reservation so that btrfs filesystem df can report it.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/sysfs.h')
0 files changed, 0 insertions, 0 deletions