d9fdb1cf2db1 Merge branch 'for-next-next-v6.1-20221111' into for-next-20221111
92eaf6109b6c Merge branch 'for-next-current-v6.0-20221111' into for-next-20221111
54bd6c79baf7 Merge branch 'misc-next' into for-next-next-v6.1-20221111
36268367d885 Merge branch 'misc-6.1' into for-next-current-v6.0-20221111
e82f49da31d5 btrfs: use cached state when looking for delalloc ranges with lseek
0d0c7a1aed0d btrfs: use cached state when looking for delalloc ranges with fiemap
08364e46cb5a btrfs: update stale comment for count_range_bits()
10b767bd0eb1 btrfs: allow passing a cached state record to count_range_bits()
95417bd991f4 btrfs: remove no longer used btrfs_next_extent_map()
2fae6d07f321 btrfs: search for delalloc more efficiently during lseek/fiemap
f06aa9231582 btrfs: skip unnecessary delalloc searches during lseek/fiemap
aaf8e2c44c2f btrfs: add an early exit when searching for delalloc range for lseek/fiemap
d77ada532e92 btrfs: remove leftover setting of EXTENT_UPTODATE state in an inode's io_tree
64502c2dbb8b btrfs: free btrfs_path before copying subvol info to userspace
16f96eb5a33c btrfs: free btrfs_path before copying fspath to userspace
3b0ec93dda7c btrfs: free btrfs_path before copying inodes to userspace
78e7cf86db69 btrfs: free btrfs_path before copying root refs to userspace
204827571263 btrfs: fix assertion failure and blocking during nowait buffered write
90fd361c642e btrfs: move tree block parentness check into validate_extent_buffer()
a7df177e537c btrfs: concentrate all tree block parentness check parameters into one structure
0d836c5d7412 btrfs: move device->name RCU allocation and assign to btrfs_alloc_device()
1209e4991bfb btrfs: constify input buffer parameter in compression code
6b13439efcf5 btrfs: raid56: remove the old error tracking system
1f78c1507a7e btrfs: raid56: migrate recovery and scrub recovery path to use error_bitmap
8e3ed9aad76f btrfs: raid56: introduce btrfs_raid_bio::error_bitmap
588f1a13f5b1 btrfs: pass btrfs_inode to btrfs_add_delayed_iput
ba9b74d68a71 btrfs: use btrfs_inode inside btrfs_verify_data_csum
911af30e16c8 btrfs: use btrfs_inode inside compress_file_range
84c6b6935a3b btrfs: switch async_chunk::inode to btrfs_inode
cee2c40cbcca btrfs: pass btrfs_inode to btrfs_inherit_iflags
80a68c46f2e6 btrfs: pass btrfs_inode to inode_tree_add
6ff1d56cff95 btrfs: pass btrfs_inode to fixup_tree_root_location
8aa4615c4c8d btrfs: pass btrfs_inode to btrfs_inode_by_name
5301c1d6b546 btrfs: pass btrfs_inode to btrfs_unlink_subvol
e9f4e5e72b64 btrfs: pass btrfs_inode to btrfs_clear_delalloc_extent
4192ddf09911 btrfs: pass btrfs_inode to btrfs_split_delalloc_extent
ac88b9ab1738 btrfs: pass btrfs_inode to btrfs_set_delalloc_extent
8dcd1986a946 btrfs: pass btrfs_inode to btrfs_merge_delalloc_extent
f5bab798604c btrfs: switch extent_io_tree::private_data to btrfs_inode and rename
365667240ebf btrfs: drop private_data parameter from extent_io_tree_init
e5d08191ff5d btrfs: pass btrfs_inode to btrfs_delete_subvolume
3ecbf0a94c56 btrfs: pass btrfs_inode to __unlink_start_trans
57986c6619c6 btrfs: pass btrfs_inode to btrfs_check_data_csum
e50daf015e42 btrfs: switch btrfs_writepage_fixup::inode to btrfs_inode
9fc76880df11 btrfs: pass btrfs_inode to btrfs_add_delalloc_inodes
0a63689f4cff btrfs: pass btrfs_inode to btrfs_dirty_inode
efbef779d0b8 btrfs: pass btrfs_inode to btrfs_inode_unlock
90a4a2892183 btrfs: pass btrfs_inode to btrfs_inode_lock
6322e8c5e4b4 btrfs: pass btrfs_inode to btrfs_truncate
ecc60366c303 btrfs: pass btrfs_inode to btrfs_submit_dio_bio
a7ebdb4b9e43 btrfs: switch btrfs_dio_private::inode to btrfs_inode
51846bfc7afd btrfs: pass btrfs_inode to btrfs_repair_one_sector
9faf049e467b btrfs: pass btrfs_inode to submit_one_bio
19ea5b37d280 btrfs: pass btrfs_inode to btrfs_submit_dio_repair_bio
638ff07e3802 btrfs: pass btrfs_inode to btrfs_submit_data_read_bio
bd5d4b583967 btrfs: pass btrfs_inode to btrfs_submit_data_write_bio
ce8766f0842c btrfs: pass btrfs_inode to btrfs_submit_metadata_bio
9901ec9fea69 btrfs: pass btrfs_inode to btrfs_wq_submit_bio
263816900b3b btrfs: pass btrfs_inode to btrfs_submit_bio_start_direct_io
f75abe5b97f1 btrfs: pass btrfs_inode to btrfs_submit_bio_start
296b1e22e002 btrfs: switch async_submit_bio::inode to btrfs_inode
d96c45c7a0f1 btrfs: simplify btree_submit_bio_start and btrfs_submit_bio_start parameters
16a9ee4dbe58 btrfs: change how submit bio callback is passed to btrfs_wq_submit_bio
e9e8b26a7c7c btrfs: drop parameter compression_type from btrfs_submit_dio_repair_bio
6cac52939cf4 btrfs: change how repair action is passed to btrfs_repair_one_sector
c42417a2eb81 btrfs: convert btrfs_block_group::seq_zone to runtime flag
005ac27cbaee btrfs: convert btrfs_block_group::needs_free_space to runtime flag
7cbbe2b37b6b btrfs: zoned: use helper to check a power of two zone size
31554fe23dfe btrfs: zlib: use copy_page for full page copy
6631f3a801e4 btrfs: send: bump the extent reference count limit for backref walking
64fd6e55d7ed btrfs: send: skip resolution of our own backref when finding clone source
f5573dd80ca0 btrfs: send: avoid double extent tree search when finding clone source
34db2064ff19 btrfs: send: skip unnecessary backref iterations
dbae19770226 btrfs: send: cache leaf to roots mapping during backref walking
7fe24a3dfa33 btrfs: constify ulist parameter of ulist_next()
514d85547c8e btrfs: reuse roots ulist on each leaf iteration for iterate_extent_inodes()
a519ef7d4dd9 btrfs: use a structure to pass arguments to backref walking functions
221a61a5e264 btrfs: use a single argument for extent offset in backref walking functions
c345eaa8979a btrfs: send: optimize clone detection to increase extent sharing
26fc047b52ac btrfs: send: avoid unnecessary backref lookups when finding clone source
8f78c21f5e27 btrfs: send: drop unnecessary backref context field initializations
540d2e901e97 btrfs: send: update comment at find_extent_clone()
c632a7c48431 btrfs: send: avoid unnecessary path allocations when finding extent clone
dc7d57196e28 btrfs: remove the unused endio_raid56_workers and btrfs_raid_bio::end_io_work
2587ce90acdd btrfs: raid56: switch scrub path to use a single function
80fd05e12f84 btrfs: raid56: extract scrub read bio list assembly code into a helper
37814848b7a0 btrfs: raid56: switch write path to rmw_rbio()
87686361e765 btrfs: raid56: introduce the main entrance for RMW path
bf589480452d btrfs: raid56: extract rwm write bios assembly into a helper
6e031c4bb9a7 btrfs: raid56: extract the rmw bio list build code into a helper
5d4452018a98 btrfs: raid56: switch recovery path to a single function
75687908ad83 btrfs: raid56: extract sector recovery code into a helper
a5b36be0e15d btrfs: raid56: extract the recovery bio list build code into a helper
0baab81a0256 btrfs: raid56: extract the pq generation code into a helper
114461f592ab btrfs: raid56: extract the vertical stripe recovery code into recover_vertical()
adca62646f7d btrfs: merge struct extent_page_data to btrfs_bio_ctrl
c4937c6b28ee btrfs: switch extent_page_data bit fields to bools
dfb356a3c7bd btrfs: simplify percent calculation helpers, rename div_factor
d8282afeff04 btrfs: update stale comment for nowait direct IO writes
60b9c4ae83b1 btrfs: fix SPDX comment in tree-mod-log.h
19c3a2cf2796 btrfs: extract the inline extent read code into its own function
c1062837031c btrfs: remove new_inline argument from btrfs_extent_item_to_extent_map()
32a476ecd738 btrfs: do not reset extent map members for inline extents read
2a21bc2dc929 btrfs: make inline extent read calculation much simpler
c4ec921f3be6 btrfs: selftests: remove impossible inline extent at non-zero file offset
bd835bf7c1a6 btrfs: move orphan prototypes into orphan.h
b01c4b095e51 btrfs: move super_block specific helpers into super.h
5f1c6aa377b0 btrfs: move super prototypes into super.h
1d40cbbb1491 btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h
c2fd56172f8e btrfs: move verity prototypes into verity.h
71467609b6a5 btrfs: move dev-replace prototypes into dev-replace.h
0c7e6d688b65 btrfs: move scrub prototypes into scrub.h
a3ed473b53a9 btrfs: move relocation prototypes into relocation.h
f17982639478 btrfs: move acl prototypes into acl.h
84feec3a8c2b btrfs: move the snapshot drop related prototypes to extent-tree.h
7be1fb770cd3 btrfs: move the 32bit warn defines into messages.h
94893a200826 btrfs: move file prototypes to file.h
0d4dde41f2eb btrfs: move ioctl prototypes into ioctl.h
b5815aaafef6 btrfs: move uuid tree prototypes to uuid-tree.h
5e2e39f4662b btrfs: move file-item prototypes into their own header
9aa8fe070e85 btrfs: move dir-item prototypes into dir-item.h
e4726e0e970f btrfs: move defrag related prototypes to their own header
dde9b04483cd btrfs: move the file defrag code into defrag.c
bd54a0bdc080 btrfs: move the auto defrag code to defrag.c
f7512813b75c btrfs: rename tree-defrag.c to defrag.c
3adf08a1560c btrfs: move inode prototypes to btrfs_inode.h
bb1cd57e088e btrfs: move the printk and assert helpers to messages.c
2e8a76a4d527 btrfs: add blk_types.h include to compression.h
c264575efeb5 btrfs: add dependencies to fs.h and block-rsv.h
c962ff6ea020 btrfs: move btrfs_chunk_item_size out of ctree.h
29131e4b4222 btrfs: convert discard stat defs to enum
c8e3eec86e2b btrfs: update function comments
405c48c31f4e btrfs: remove unused btrfs_cond_migrate_bytes
ed22d02f042b btrfs: remove unused function prototypes
22950ccfdfa0 btrfs: move root tree prototypes to their own header
b146023b148e btrfs: delete unused function prototypes in ctree.h
075da7c37ae9 btrfs: move delalloc space related prototypes to delalloc-space.h
ad32d9efb659 btrfs: move extent-tree helpers into their own header file
ce6625484e17 btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c
08d79d2dda84 btrfs: remove extra space info prototypes in ctree.h
8a8749b5e537 btrfs: minor whitespace in ctree.h
0806bdc106a8 btrfs: move the lockdep helpers into locking.h
db263f3b011f btrfs: move btrfs_fs_info declarations into fs.h
8d900a108ba7 btrfs: extend btrfs_dir_item type to store encryption status
2c57d6d64576 btrfs: use struct fscrypt_str instead of struct qstr
c330cff765cc btrfs: fix improper error handling in btrfs_unlink
d0b45d49979a btrfs: setup qstr from dentrys using fscrypt helper
668a06c0374f btrfs: use struct qstr instead of name and namelen pairs
9b743cf8d2db btrfs: merge module cleanup sequence to one helper
f7cb2bda33ec btrfs: sink gfp_t parameter to alloc_scrub_sector
267b70c1b396 btrfs: switch GFP_NOFS to GFP_KERNEL in scrub_setup_recheck_block
f7dab2f1c7f8 btrfs: sink gfp_t parameter to btrfs_qgroup_trace_extent
68f4b136b109 btrfs: sink gfp_t parameter to btrfs_backref_iter_alloc
34bf2eae12ac btrfs: remove temporary btrfs_map_token declaration in ctree.h
67cb2dfeac33 btrfs: move accessor helpers into accessors.h
476a1448b0d0 btrfs: move btrfs_map_token to accessors
b694304f1727 btrfs: rename struct-funcs.c to accessors.c
512a12609b11 btrfs: move the compat/incompat flag masks to fs.h
aef8dfa0b94c btrfs: remove fs_info::pending_changes and related code
d40544ad8241 btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag
cdabb3e34c15 btrfs: move fs_info::flags enum to fs.h
441ea403ea7a btrfs: move mount option definitions to fs.h
ba90afbeaaef btrfs: convert incompat and compat flag test helpers to macros
6d76f2cf24b6 btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h
5b8d8d331036 btrfs: push printk index code into their respective helpers
05623c62f822 btrfs: move the printk helpers out of ctree.h
e6a4891e6174 btrfs: move assert helpers out of ctree.h
4106f4e734ab btrfs: move fs wide helpers out of ctree.h
7b28f2203b15 btrfs: send add define for v2 buffer size
938217a60c91 btrfs: simplify generation check in btrfs_get_dentry
acb28304d8d2 btrfs: auto enable discard=async when possible
f8ac740c79a1 btrfs: sysfs: convert remaining scnprintf to sysfs_emit
ea86bd72b5d8 btrfs: do not panic if we can't allocate a prealloc extent state
7c867654d317 btrfs: remove unused unlock_extent_atomic
66115070852b btrfs: do not use GFP_ATOMIC in the read endio
d1a99dbc910a btrfs: skip update of block group item if used bytes are the same
cd93ffc7663c btrfs: convert __TRANS_* defines to enum bits
eb4e6db51e17 btrfs: convert QGROUP_* defines to enum bits
f480983b8bbd btrfs: convert EXTENT_* bits to enums
17decb730ce1 btrfs: convert extent_io page op defines to enum bits
45cb869e40e9 btrfs: convert BTRFS_ILOCK-* defines to enum bit
517f70be0b9c btrfs: add helper for bit enumeration
fc7cb9d7818a btrfs: make module init/exit match their sequence
5fa3b47fd5fc btrfs: remove gfp_t flag from btrfs_tree_mod_log_insert_key()
20263d959ae8 btrfs: switch GFP_ATOMIC to GFP_NOFS when fixing up low keys
f06b8545e225 btrfs: re-check reclaim condition in reclaim worker
c34669a73bf0 btrfs: skip reclaim if block_group is empty
d111d38360be btrfs: avoid unnecessary resolution of indirect backrefs during fiemap
7d85842a4cea btrfs: avoid duplicated resolution of indirect backrefs during fiemap
fdc997b3d825 btrfs: move up backref sharedness cache store and lookup functions
03b67c78a6d8 btrfs: cache sharedness of the last few data extents during fiemap
c9c23ef82bc7 btrfs: remove useless logic when finding parent nodes
778786176c97 btrfs: remove roots ulist when checking data extent sharedness
a8807254b935 btrfs: move ulists to data extent sharedness check context
2d9ca1e56e7f btrfs: turn the backref sharedness check cache into a context object
6d13b4e7d547 btrfs: directly pass the inode to btrfs_is_data_extent_shared()
e8b28a0367d3 btrfs: remove checks for a 0 inode number during backref walking
9d94f5189d84 btrfs: remove checks for a root with id 0 during backref walking
11d47cd50262 btrfs: drop redundant bflags initialization when allocating extent buffer
a6933f4932c4 btrfs: drop pointless memset when cloning extent buffer
0f6f84aead08 btrfs: skip unnecessary delalloc search during fiemap and lseek
90d721ebc213 btrfs: skip unnecessary extent map searches during fiemap and lseek
840f61997e78 btrfs: get the next extent map during fiemap/lseek more efficiently
fdae4d1d3e20 btrfs: raid56: make it more explicit that cache rbio should have all its data sectors uptodate
b170b5dfc99f btrfs: raid56: allocate memory separately for rbio pointers
ddb30a646a91 btrfs: raid56: cleanup for function __free_raid_bio()
c7d675b4ca1d btrfs: introduce BTRFS_RESERVE_FLUSH_EMERGENCY
e30379c83fe1 btrfs: move the btrfs_verity_descriptor_item defs up in ctree.h
b98dbdd69a24 btrfs: move btrfs_next_old_item into ctree.c
00318b7748e5 btrfs: move free space cachep's out of ctree.h
696312d0b391 btrfs: move btrfs_path_cachep out of ctree.h
c3926f380b53 btrfs: move trans_handle_cachep out of ctree.h
42b13092491e btrfs: move btrfs_print_data_csum_error into inode.c
12573bf9cc73 btrfs: move flush related definitions to space-info.h
2ca42c246c9e btrfs: move btrfs_should_fragment_free_space into block-group.c
4e12367139dd btrfs: move discard stat defs to free-space-cache.h
0066a8f70702 btrfs: move BTRFS_MAX_MIRRORS into scrub.c
17211b1facbe btrfs: move maximum limits to btrfs_tree.h
0fd4eed45a8d btrfs: move btrfs_get_block_group helper out of disk-io.h
c66dae6d7ab6 btrfs: move btrfs on-disk definitions out of ctree.h
65281fbe43d6 btrfs: remove unused BTRFS_IOPRIO_READA
f866f2e3ff5f btrfs: remove unused BTRFS_TOTAL_BYTES_PINNED_BATCH
67147ed7d52b btrfs: remove unused set/clear_pending_info helpers
0c92421b4d53 btrfs: simplify cleanup after error in btrfs_create_tree
4c828c68b43e btrfs: add cached_state to read_extent_buffer_subpage
a7bf8aa4ebcd btrfs: cache the failed state when locking extents
23b0b3c8bf4b btrfs: use a cached_state everywhere in relocation
ef364fcf18b4 btrfs: use cached_state for btrfs_check_nocow_lock
f1f544131def btrfs: add a cached_state to try_lock_extent