Re: [PATCH 1/4] btrfs: Refactor cow_file_range_async

2019-02-15 Thread Nikolay Borisov
On 13.02.19 г. 17:55 ч., Nikolay Borisov wrote: > This commit changes the implementation of cow_file_range_async in order > to get rid of the BUG_ON in the middle of the loop. Additionally it > reworks the inner loop in the hopes of making it more understandable. > > Main change is that the num

Re: [PATCH 1/4] btrfs: Refactor cow_file_range_async

2019-02-14 Thread Nikolay Borisov
On 13.02.19 г. 17:55 ч., Nikolay Borisov wrote: > This commit changes the implementation of cow_file_range_async in order > to get rid of the BUG_ON in the middle of the loop. Additionally it > reworks the inner loop in the hopes of making it more understandable. > > Main change is that the num

[PATCH 1/4] btrfs: Refactor cow_file_range_async

2019-02-13 Thread Nikolay Borisov
This commit changes the implementation of cow_file_range_async in order to get rid of the BUG_ON in the middle of the loop. Additionally it reworks the inner loop in the hopes of making it more understandable. Main change is that the number of chunks required to handle the given range is calculate

[PATCH 1/4] btrfs: Refactor cow_file_range_async

2019-02-13 Thread Nikolay Borisov
This commit changes the implementation of cow_file_range_async in order to get rid of the BUG_ON in the middle of the loop. Additionally it reworks the inner loop in the hopes of making it more understandable. Main change is that the number of chunks required to handle the given range is calculate