31bf1af75b06 Merge branch 'for-next-next-v6.1-20221027' into for-next-20221027
5ff14ff72cd0 Merge branch 'for-next-current-v6.0-20221027' into for-next-20221027
93cff42f0159 Merge branch 'cleanup/extent-page-data-ctrl-merge-6.2' into for-next-next-v6.1-20221027
5aad8de0c604 Merge branch 'cleanup/mult-perc' into for-next-next-v6.1-20221027
23ee283eaecc Merge branch 'misc-next' into for-next-next-v6.1-20221027
201692fd5065 Merge branch 'misc-6.1' into for-next-current-v6.0-20221027
37bc857103d2 btrfs: merge struct extent_page_data to btrfs_bio_ctrl
ec46f4f25d89 btrfs: switch extent_page_data bit fields to bools
1be5a44cd921 btrfs: simplify percent calculation helpers, rename div_factor
2c06fbe390f9 btrfs: fix SPDX comment in tree-mod-log.h
033575d9fed5 btrfs: extract the inline extent read code into its own function
0a19f8c9361d btrfs: remove new_inline argument from btrfs_extent_item_to_extent_map()
f4ad4b87fc7e btrfs: do not reset extent map members for inline extents read
c2e431e45d6d btrfs: make inline extent read calculation much simpler
1d63dd3beac5 btrfs: selftests: remove impossible inline extent at non-zero file offset
ef7dc47b70d7 btrfs: move orphan prototypes into orphan.h
101f41a0e79d btrfs: move super_block specific helpers into super.h
53f1b97ea6ce btrfs: move super prototypes into super.h
2cc045e03bed btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h
d8734e99a46b btrfs: move verity prototypes into verity.h
3fab8e042c30 btrfs: move dev-replace prototypes into dev-replace.h
171b5a0dfc9b btrfs: move scrub prototypes into scrub.h
fce06c9e50b4 btrfs: move relocation prototypes into relocation.h
6ef78f46e652 btrfs: move acl prototypes into acl.h
e085f0eeee0a btrfs: move the snapshot drop related prototypes to extent-tree.h
dd4f42ea6213 btrfs: move the 32bit warn defines into messages.h
8e96a11d7f0c btrfs: move file prototypes to file.h
c72ec479019b btrfs: move ioctl prototypes into ioctl.h
b7bc74569d42 btrfs: move uuid tree prototypes to uuid-tree.h
95c68e5b60bf btrfs: move file-item prototypes into their own header
a0c955ecd0a8 btrfs: move dir-item prototypes into dir-item.h
c63b30aaf649 btrfs: move defrag related prototypes to their own header
34d2ed41fe49 btrfs: move the file defrag code into defrag.c
127587b995f9 btrfs: move the auto defrag code to defrag.c
121986a11f2b btrfs: rename tree-defrag.c to defrag.c
d98f802c975e btrfs: move inode prototypes to btrfs_inode.h
0568bf634e1c btrfs: move the printk and assert helpers to messages.c
437cfae3ee7a btrfs: add blk_types.h include to compression.h
426bebf1a8e6 btrfs: add dependencies to fs.h and block-rsv.h
81114d8815f6 btrfs: move btrfs_chunk_item_size out of ctree.h
3a9854a2de67 btrfs: convert discard stat defs to enum
d8af1ffc9bee btrfs: update function comments
ceea6d60a044 btrfs: remove unused btrfs_cond_migrate_bytes
f1802133acc8 btrfs: remove unused function prototypes
9204a61e5f7c btrfs: move root tree prototypes to their own header
eb5e10ae6e43 btrfs: delete unused function prototypes in ctree.h
1ecfb0d7ea5b btrfs: move delalloc space related prototypes to delalloc-space.h
970c31bb1ca1 btrfs: move extent-tree helpers into their own header file
d28e9906cb40 btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c
b1c774c3b8ba btrfs: remove extra space info prototypes in ctree.h
5ffb9d47540d btrfs: minor whitespace in ctree.h
ecaf7d52a1d7 btrfs: move the lockdep helpers into locking.h
53d1936a8aad btrfs: move btrfs_fs_info declarations into fs.h
4696ac29fbf7 btrfs: extend btrfs_dir_item type to store encryption status
f518e3a14825 btrfs: use struct fscrypt_str instead of struct qstr
ad9f5f70a309 btrfs: setup qstr from dentrys using fscrypt helper
a49987afba0d btrfs: use struct qstr instead of name and namelen pairs
617a46a72120 btrfs: don't use btrfs_chunk::sub_stripes from disk
0165791dd29b btrfs: merge module cleanup sequence to one helper
4c481153e668 btrfs: sink gfp_t parameter to alloc_scrub_sector
d8b46fab93f5 btrfs: switch GFP_NOFS to GFP_KERNEL in scrub_setup_recheck_block
21c18ea41beb btrfs: sink gfp_t parameter to btrfs_qgroup_trace_extent
ac1abde3eb98 btrfs: sink gfp_t parameter to btrfs_backref_iter_alloc
32ad058aa1e2 btrfs: remove temporary btrfs_map_token declaration in ctree.h
2cd0e42ede28 btrfs: move accessor helpers into accessors.h
50bd1b4fc4ff btrfs: move btrfs_map_token to accessors
0753795c3c24 btrfs: rename struct-funcs.c to accessors.c
46b6b222553d btrfs: move the compat/incompat flag masks to fs.h
245ea3d8106f btrfs: remove fs_info::pending_changes and related code
d477bde57b6b btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag
067df5ab7619 btrfs: move fs_info::flags enum to fs.h
bccdb790ae8e btrfs: move mount option definitions to fs.h
7d374ba9559e btrfs: convert incompat and compat flag test helpers to macros
9ae1444046c1 btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h
c3d0dee0ed6f btrfs: push printk index code into their respective helpers
e65dd4365033 btrfs: move the printk helpers out of ctree.h
ac27e048ed76 btrfs: move assert helpers out of ctree.h
11db60714a12 btrfs: move fs wide helpers out of ctree.h
7f26cd6cdc6b btrfs: send add define for v2 buffer size
79d1422a89cb btrfs: simplify generation check in btrfs_get_dentry
2e3f4112c60f btrfs: fix type of parameter generation in btrfs_get_dentry
a7277fbb05a9 btrfs: send: fix send failure of a subcase of orphan inodes
f4189dfc6a76 btrfs: make thaw time super block check to also verify checksum
4d542835e8d1 btrfs: auto enable discard=async when possible
e3f3960586ee btrfs: sysfs: convert remaining scnprintf to sysfs_emit
87a87516d888 btrfs: do not panic if we can't allocate a prealloc extent state
129d2db80c4c btrfs: remove unused unlock_extent_atomic
a17100c00956 btrfs: do not use GFP_ATOMIC in the read endio
1a92ed22ad51 btrfs: skip update of block group item if used bytes are the same
0118c7ababa5 btrfs: convert __TRANS_* defines to enum bits
2e395c66f4f5 btrfs: convert QGROUP_* defines to enum bits
f997226eeb94 btrfs: convert EXTENT_* bits to enums
8cf948adb6a1 btrfs: convert extent_io page op defines to enum bits
a2d88c634f02 btrfs: convert BTRFS_ILOCK-* defines to enum bit
d0b1d437af7d btrfs: add helper for bit enumeration
3e8c5ed96226 btrfs: make module init/exit match their sequence
3787f4450f9f btrfs: fix tree mod log mishandling of reallocated nodes
0b4189517898 btrfs: remove gfp_t flag from btrfs_tree_mod_log_insert_key()
1f81b9bbc3b2 btrfs: switch GFP_ATOMIC to GFP_NOFS when fixing up low keys
73f7bb83a223 btrfs: re-check reclaim condition in reclaim worker
404ee1113f1f btrfs: skip reclaim if block_group is empty
4bdacac971cb btrfs: reorder btrfs_bio for better packing
d3013cdf719a btrfs: avoid unnecessary resolution of indirect backrefs during fiemap
4b6d07101c2e btrfs: avoid duplicated resolution of indirect backrefs during fiemap
45d0775ba937 btrfs: move up backref sharedness cache store and lookup functions
3ad2c3b7c953 btrfs: cache sharedness of the last few data extents during fiemap
1e93b86ecdce btrfs: remove useless logic when finding parent nodes
434f31b0a712 btrfs: remove roots ulist when checking data extent sharedness
56a6e3c6c13a btrfs: move ulists to data extent sharedness check context
7beca8df41d5 btrfs: turn the backref sharedness check cache into a context object
52b96961c431 btrfs: directly pass the inode to btrfs_is_data_extent_shared()
2ecccd23d3bb btrfs: remove checks for a 0 inode number during backref walking
4afba60a2660 btrfs: remove checks for a root with id 0 during backref walking
05836fa3c243 btrfs: drop redundant bflags initialization when allocating extent buffer
87e319c2c71b btrfs: drop pointless memset when cloning extent buffer
366569deb074 btrfs: skip unnecessary delalloc search during fiemap and lseek
c70effff0cc8 btrfs: skip unnecessary extent map searches during fiemap and lseek
7a8dec6387c5 btrfs: get the next extent map during fiemap/lseek more efficiently
ab624da2cb33 btrfs: raid56: make it more explicit that cache rbio should have all its data sectors uptodate
abdd99d8aa9c btrfs: raid56: allocate memory separately for rbio pointers
c07b7afa9d9b btrfs: raid56: cleanup for function __free_raid_bio()
3b0e3ff115c1 btrfs: raid56: avoid double freeing for rbio if full_stripe_write() failed
d2abb207d2df btrfs: raid56: properly handle the error when unable to find the missing stripe
21955fb290b5 btrfs: introduce BTRFS_RESERVE_FLUSH_EMERGENCY
4aa10c417e1c btrfs: move the btrfs_verity_descriptor_item defs up in ctree.h
e504d8797c1d btrfs: move btrfs_next_old_item into ctree.c
ef01205c3e44 btrfs: move free space cachep's out of ctree.h
2620be36d450 btrfs: move btrfs_path_cachep out of ctree.h
affafef8d7b3 btrfs: move trans_handle_cachep out of ctree.h
294ff9ac6613 btrfs: move btrfs_print_data_csum_error into inode.c
de5fe0c06105 btrfs: move flush related definitions to space-info.h
fcf63182e39b btrfs: move btrfs_should_fragment_free_space into block-group.c
186bb3fdec6d btrfs: move discard stat defs to free-space-cache.h
fec7606bb638 btrfs: move BTRFS_MAX_MIRRORS into scrub.c
ee2490066f14 btrfs: move maximum limits to btrfs_tree.h
180027925733 btrfs: move btrfs_get_block_group helper out of disk-io.h
8970c9df2356 btrfs: move btrfs on-disk definitions out of ctree.h
76a66ba10132 btrfs: don't use btrfs_chunk::sub_stripes from disk
2398091f9c2c btrfs: fix type of parameter generation in btrfs_get_dentry
9b8be45f1ef2 btrfs: send: fix send failure of a subcase of orphan inodes
3d17adea74a5 btrfs: make thaw time super block check to also verify checksum
968b71583130 btrfs: fix tree mod log mishandling of reallocated nodes
ae0e5df4d1a4 btrfs: reorder btrfs_bio for better packing
ab4c54c643a0 btrfs: raid56: avoid double freeing for rbio if full_stripe_write() failed
f15fb2cd979a btrfs: raid56: properly handle the error when unable to find the missing stripe
a8add60e32f6 btrfs: remove unused BTRFS_IOPRIO_READA
534335fa00ca btrfs: remove unused BTRFS_TOTAL_BYTES_PINNED_BATCH
538269bdcb11 btrfs: remove unused set/clear_pending_info helpers
645768fb9620 btrfs: simplify cleanup after error in btrfs_create_tree
162f531ddb0f btrfs: add cached_state to read_extent_buffer_subpage
1e3ba6dfddf4 btrfs: cache the failed state when locking extents
5cb4594b2bff btrfs: use a cached_state everywhere in relocation
f20aac98ca8d btrfs: use cached_state for btrfs_check_nocow_lock
d15467038a2c btrfs: add a cached_state to try_lock_extent