On Mon, Jul 11, 2016 at 07:30:04PM +0800, Wang Xiaoguang wrote: > In btrfs, btrfs_space_info's bytes_may_use is treated as fs used > space, as what we do in reserve_metadata_bytes() or > btrfs_alloc_data_chunk_ondemand(), so in dump_space_info(), when > calculating free space, we should also minus btrfs_space_info's > bytes_may_use. > > Signed-off-by: Wang Xiaoguang <wangxg.fnst@xxxxxxxxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx> -- 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
