]> Git Repo - linux.git/commit - fs/btrfs/ctree.h
btrfs: export global block reserve size as space_info
authorDavid Sterba <[email protected]>
Fri, 7 Feb 2014 13:34:12 +0000 (14:34 +0100)
committerChris Mason <[email protected]>
Mon, 7 Apr 2014 17:41:53 +0000 (10:41 -0700)
commit36523e95129c0e69bf1592cd009261b1c6d96e77
treef210c9e347318a954dec2e7a4d367f76ebf0da9e
parent800ee2247f483b6d05ed47ef3bbc90b56451746c
btrfs: export global block reserve size as space_info

Introduce a block group type bit for a global reserve and fill the space
info for SPACE_INFO ioctl. This should replace the newly added ioctl
(01e219e8069516cdb98594d417b8bb8d906ed30d) to get just the 'size' part
of the global reserve, while the actual usage can be now visible in the
'btrfs fi df' output during ENOSPC stress.

The unpatched userspace tools will show the blockgroup as 'unknown'.

CC: Jeff Mahoney <[email protected]>
CC: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
This page took 0.047583 seconds and 4 git commands to generate.