• D
    btrfs: export global block reserve size as space_info · 36523e95
    David Sterba 提交于
    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
    (01e219e8) 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 <jeffm@suse.com>
    CC: Josef Bacik <jbacik@fb.com>
    Signed-off-by: NDavid Sterba <dsterba@suse.cz>
    Signed-off-by: NChris Mason <clm@fb.com>
    36523e95
ctree.h 132.4 KB