mbox series

[0/9] btrfs: miscellaneous cleanups

Message ID cover.1575336815.git.osandov@fb.com (mailing list archive)
Headers show
Series btrfs: miscellaneous cleanups | expand

Message

Omar Sandoval Dec. 3, 2019, 1:34 a.m. UTC
From: Omar Sandoval <osandov@fb.com>

Hi,

This series includes several cleanups. Patches 1-3 are the standalone
cleanups from my RWF_ENCODED series [1] (as requested by Dave). Patches
4-8 clean up code rot in the writepage codepath. Patch 9 is a trivial
cleanup in find_free_extent.

Based on misc-next.

Thanks!

1: https://lore.kernel.org/linux-btrfs/cover.1574273658.git.osandov@fb.com/

Omar Sandoval (9):
  btrfs: get rid of trivial __btrfs_lookup_bio_sums() wrappers
  btrfs: remove dead snapshot-aware defrag code
  btrfs: make btrfs_ordered_extent naming consistent with
    btrfs_file_extent_item
  btrfs: remove unnecessary pg_offset assignments in
    __extent_writepage()
  btrfs: remove trivial goto label in __extent_writepage()
  btrfs: remove redundant i_size check in __extent_writepage_io()
  btrfs: drop create parameter to btrfs_get_extent()
  btrfs: simplify compressed/inline check in __extent_writepage_io()
  btrfs: remove struct find_free_extent.ram_bytes

 fs/btrfs/compression.c       |   4 +-
 fs/btrfs/ctree.h             |   6 +-
 fs/btrfs/disk-io.c           |   4 +-
 fs/btrfs/disk-io.h           |   4 +-
 fs/btrfs/extent-tree.c       |   2 -
 fs/btrfs/extent_io.c         |  42 +-
 fs/btrfs/extent_io.h         |   6 +-
 fs/btrfs/file-item.c         |  39 +-
 fs/btrfs/file.c              |  23 +-
 fs/btrfs/inode.c             | 801 +++--------------------------------
 fs/btrfs/ioctl.c             |   2 +-
 fs/btrfs/ordered-data.c      |  69 ++-
 fs/btrfs/ordered-data.h      |  26 +-
 fs/btrfs/relocation.c        |   5 +-
 include/trace/events/btrfs.h |   6 +-
 15 files changed, 171 insertions(+), 868 deletions(-)

Comments

David Sterba Dec. 10, 2019, 6:47 p.m. UTC | #1
On Mon, Dec 02, 2019 at 05:34:16PM -0800, Omar Sandoval wrote:
> This series includes several cleanups. Patches 1-3 are the standalone
> cleanups from my RWF_ENCODED series [1] (as requested by Dave). Patches
> 4-8 clean up code rot in the writepage codepath. Patch 9 is a trivial
> cleanup in find_free_extent.
> 
> Based on misc-next.
> 
> Thanks!
> 
> 1: https://lore.kernel.org/linux-btrfs/cover.1574273658.git.osandov@fb.com/
> 
> Omar Sandoval (9):
>   btrfs: get rid of trivial __btrfs_lookup_bio_sums() wrappers
>   btrfs: remove dead snapshot-aware defrag code
>   btrfs: make btrfs_ordered_extent naming consistent with
>     btrfs_file_extent_item
>   btrfs: remove unnecessary pg_offset assignments in
>     __extent_writepage()
>   btrfs: remove trivial goto label in __extent_writepage()
>   btrfs: remove redundant i_size check in __extent_writepage_io()
>   btrfs: drop create parameter to btrfs_get_extent()
>   btrfs: simplify compressed/inline check in __extent_writepage_io()
>   btrfs: remove struct find_free_extent.ram_bytes

Added to misc-next with minor fixups, thanks.
Omar Sandoval Dec. 10, 2019, 6:50 p.m. UTC | #2
On Tue, Dec 10, 2019 at 07:47:44PM +0100, David Sterba wrote:
> On Mon, Dec 02, 2019 at 05:34:16PM -0800, Omar Sandoval wrote:
> > This series includes several cleanups. Patches 1-3 are the standalone
> > cleanups from my RWF_ENCODED series [1] (as requested by Dave). Patches
> > 4-8 clean up code rot in the writepage codepath. Patch 9 is a trivial
> > cleanup in find_free_extent.
> > 
> > Based on misc-next.
> > 
> > Thanks!
> > 
> > 1: https://lore.kernel.org/linux-btrfs/cover.1574273658.git.osandov@fb.com/
> > 
> > Omar Sandoval (9):
> >   btrfs: get rid of trivial __btrfs_lookup_bio_sums() wrappers
> >   btrfs: remove dead snapshot-aware defrag code
> >   btrfs: make btrfs_ordered_extent naming consistent with
> >     btrfs_file_extent_item
> >   btrfs: remove unnecessary pg_offset assignments in
> >     __extent_writepage()
> >   btrfs: remove trivial goto label in __extent_writepage()
> >   btrfs: remove redundant i_size check in __extent_writepage_io()
> >   btrfs: drop create parameter to btrfs_get_extent()
> >   btrfs: simplify compressed/inline check in __extent_writepage_io()
> >   btrfs: remove struct find_free_extent.ram_bytes
> 
> Added to misc-next with minor fixups, thanks.

Thank you!