mbox series

[0/3] Cleanups following optional extent_io_ops callbacks removal

Message ID 20181108081808.16920-1-nborisov@suse.com (mailing list archive)
Headers show
Series Cleanups following optional extent_io_ops callbacks removal | expand

Message

Nikolay Borisov Nov. 8, 2018, 8:18 a.m. UTC
Here are 3 minor patches that further clean up writepage_delalloc. The first
one moves the extent locked check in the caller of writepage_delalloc since
this seems more natural. This paves the way for the second patch which removes
epd as an argument to writepage_delalloc. The final patch was suggested by 
Josef and removes an extent_state argument which has never been used. 

Nikolay Borisov (3):
  btrfs: Move epd::extent_locked check to writepage_delalloc's caller
  btrfs: Remove extent_page_data argument from writepage_delalloc
  btrfs: Remove unused extent_state argument from
    btrfs_writepage_endio_finish_ordered

 fs/btrfs/compression.c |  6 ++++--
 fs/btrfs/ctree.h       |  4 ++--
 fs/btrfs/extent_io.c   | 36 +++++++++++++++++-------------------
 fs/btrfs/inode.c       |  7 +++----
 4 files changed, 26 insertions(+), 27 deletions(-)

Comments

David Sterba Nov. 12, 2018, 6:58 p.m. UTC | #1
On Thu, Nov 08, 2018 at 10:18:05AM +0200, Nikolay Borisov wrote:
> Here are 3 minor patches that further clean up writepage_delalloc. The first
> one moves the extent locked check in the caller of writepage_delalloc since
> this seems more natural. This paves the way for the second patch which removes
> epd as an argument to writepage_delalloc. The final patch was suggested by 
> Josef and removes an extent_state argument which has never been used. 
> 
> Nikolay Borisov (3):
>   btrfs: Move epd::extent_locked check to writepage_delalloc's caller
>   btrfs: Remove extent_page_data argument from writepage_delalloc
>   btrfs: Remove unused extent_state argument from
>     btrfs_writepage_endio_finish_ordered

Added to misc-next, thanks.