Re: [PATCH v2 2/3] btrfs: refactor btrfs_buffered_write() into process_one_batch()

Josef Bacik
2020-08-24T17:02:25Z

On 8/24/20 3:59 AM, Qu Wenruo wrote:
> Inside btrfs_buffered_write() we had a big chunk of code in the while()
> loop.
>
> Refactor this big chunk into process_one_batch(), which will do the main
> job.
>
> This refactor doesn't touch the functioniality at all, just make life
> easier with more headroom for codes.
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef