From: David Sterba Date: Fri, 7 Feb 2014 13:34:12 +0000 (+0100) Subject: btrfs: export global block reserve size as space_info X-Git-Tag: v3.15-rc1~23^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36523e95129c0e69bf1592cd009261b1c6d96e77;p=pandora-kernel.git 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 CC: Josef Bacik Signed-off-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed