Re: [PATCH 0/7] cleanup __btrfs_map_block

2017-03-14 Thread David Sterba
On Fri, Feb 17, 2017 at 05:28:14PM -0800, Liu Bo wrote: > This is attempting to make __btrfs_map_block less scary :) > > The major changes are > > 1) split operations for discard out of __btrfs_map_block and we don't copy > discard operations for the target device of dev replace since they're

Re: [PATCH 0/7] cleanup __btrfs_map_block

2017-02-19 Thread Qu Wenruo
At 02/18/2017 09:28 AM, Liu Bo wrote: This is attempting to make __btrfs_map_block less scary :) Great!! That's also what I want to do in btrfs-progs. And it would be better if we can take a step further to have a better API for both pure mirrored/striped profile and parity profile. I

Re: [PATCH 0/7] cleanup __btrfs_map_block

2017-02-18 Thread Mike Fleetwood
On 18 February 2017 at 01:28, Liu Bo wrote: > This is attempting to make __btrfs_map_block less scary :) > > The major changes are > > 1) split operations for discard out of __btrfs_map_block and we don't copy > discard operations for the target device of dev replace since

[PATCH 0/7] cleanup __btrfs_map_block

2017-02-17 Thread Liu Bo
This is attempting to make __btrfs_map_block less scary :) The major changes are 1) split operations for discard out of __btrfs_map_block and we don't copy discard operations for the target device of dev replace since they're not as important as writes. 2) put dev replace stuff into helpers