Re: [PATCH 1/2] btrfs-progs: Port kernel fs_devices::total_rw_bytes to btrfs-progs

2019-03-01 Thread David Sterba
On Tue, Feb 05, 2019 at 02:53:11PM +0800, Qu Wenruo wrote: > Unlike kernel, btrfs-progs doesn't (yet) support devices grow/shrink, > the port only needs to handle open_ctree() time initialization (at > read_one_dev()), and btrfs_add_device() used for mkfs. > > This provide the basis for incoming u

[PATCH 1/2] btrfs-progs: Port kernel fs_devices::total_rw_bytes to btrfs-progs

2019-02-04 Thread Qu Wenruo
Unlike kernel, btrfs-progs doesn't (yet) support devices grow/shrink, the port only needs to handle open_ctree() time initialization (at read_one_dev()), and btrfs_add_device() used for mkfs. This provide the basis for incoming unification of chunk allocator behavior. Signed-off-by: Qu Wenruo --