David Sterba wrote on 2016/01/12 15:28 +0100:
On Mon, Dec 14, 2015 at 01:19:56PM +0800, Qu Wenruo wrote:
The GlobalReserve space in 'btrfs fi df' is always confusing for a lot
of users.
As it is not a special chunk type like DATA or METADATA, it's in fact a
sub-type of METADATA.
So change the output to skip GlobalReserve by default, and adding its
total to metadata used.
And add a new option '-r|--reserve' to show the GlobalReserve, but skip
the profile of GlobalReserve.
How about this:
- keep the global reserve in the output, separate from metadata and not
accounted
- add new option to account the global reserve into metadata and then
drop it from the output
I'm OK about it, although that would just make '-r' option default.
But anyway, the profile of GlobalReserve should not be output.
Thanks,
Qu
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html