On 1.11.18 г. 21:03 ч., Josef Bacik wrote: > On Thu, Nov 01, 2018 at 02:09:48PM +0200, Nikolay Borisov wrote: >> This callback is ony ever called for data page writeout so >> there is no need to actually abstract it via extent_io_ops. Lets just >> export it, remove the definition of the callback and call it directly >> in the functions that invoke the callback. Also rename the function to >> btrfs_writepage_endio_finish_ordered since what it really does is >> account finished io in the ordered extent data structures. >> No functional changes. >> >> Signed-off-by: Nikolay Borisov <[email protected]> > > Could send another cleanup patch to remove the struct extent_state *state from > the arg list as well. Indeed, once this series lands I will send a follow-up cleanup since I have some other ideas around writepage_delalloc code cleanups as well. Thanks > > Reviewed-by: Josef Bacik <[email protected]> > > Thanks, > > Josef >
- [PATCH 0/8] Removal of optional hooks from struct extent_i... Nikolay Borisov
- [PATCH 4/8] btrfs: Remove extent_io_ops::check_extent... Nikolay Borisov
- [PATCH 6/8] btrfs: Remove extent_io_ops::clear_bit_ho... Nikolay Borisov
- [PATCH 2/8] btrfs: Remove extent_io_ops::writepage_st... Nikolay Borisov
- [PATCH 3/8] btrfs: Remove extent_io_ops::writepage_en... Nikolay Borisov
- Re: [PATCH 3/8] btrfs: Remove extent_io_ops::writ... Josef Bacik
- Re: [PATCH 3/8] btrfs: Remove extent_io_ops::... Nikolay Borisov
- [PATCH 5/8] btrfs: Remove extent_io_ops::set_bit_hook... Nikolay Borisov
- [PATCH 7/8] btrfs: Remove extent_io_ops::merge_extent... Nikolay Borisov
- [PATCH 8/8] btrfs: Remove extent_io_ops::split_extent... Nikolay Borisov
- [PATCH 1/8] btrfs: Remove extent_io_ops::fill_delallo... Nikolay Borisov
- Re: [PATCH 1/8] btrfs: Remove extent_io_ops::fill... Josef Bacik
- Re: [PATCH 1/8] btrfs: Remove extent_io_ops::fill... David Sterba
- Re: [PATCH 0/8] Removal of optional hooks from struct... David Sterba
