[PATCH 0/9] btrfs: miscellaneous cleanups

Omar Sandoval
2019-12-03T01:34:35Z

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(-)

--
2.24.0