d1a1795bb77b Merge branch 'for-next-next-v6.1-20221205' into for-next-20221205
1e55ee293682 Merge branch 'misc-next' into for-next-next-v6.1-20221205
b7af0635c87f btrfs: print transaction aborted messages with an error level
a28135303a66 btrfs: sync some cleanups from progs into uapi/btrfs.h
162d053e15fe btrfs: do not BUG_ON() on ENOMEM when dropping extent items for a range
1742e1c90c3d btrfs: fix extent map use-after-free when handling missing device in read_one_chunk
3eb423442483 btrfs: remove outdated logic from overwrite_item() and add assertion
3a8d1db341b9 btrfs: unify overwrite_item() and do_overwrite_item()
63d5429f68a3 btrfs: replace strncpy() with strscpy()
26df39a9e5a8 btrfs: fix uninitialized variable in find_first_clear_extent_bit
d7c9e1be2876 btrfs: fix uninitialized parent in insert_state
a4c853af0c51 btrfs: add might_sleep() annotations
054056bd0a8d btrfs: add stack helpers for a few btrfs items
0c7030038e61 btrfs: add nr_global_roots to the super block definition
8009adf30645 btrfs: remove BTRFS_LEAF_DATA_OFFSET
637e3b48c22e btrfs: add helpers for manipulating leaf items and data
e23efd8e8767 btrfs: add eb to btrfs_node_key_ptr_offset
42c9419a4c01 btrfs: pass the extent buffer for the btrfs_item_nr helpers
0e6c40ebbb18 btrfs: move the csum helpers into ctree.h
9b48addac406 btrfs: move eb offset helpers into extent_io.h
6bfd0ffa6f2a btrfs: move file_extent_item helpers into file-item.h
3a3178c7f767 btrfs: move leaf_data_end into ctree.c
1fe5ebc4e17d btrfs: move root helpers back into ctree.h
bacf60e51586 btrfs: move repair_io_failure to bio.c
103c19723c80 btrfs: split the bio submission path into a separate file
27137fac4c06 btrfs: move struct btrfs_tree_parent_check out of disk-io.h
7a3150723061 btrfs: raid56: do data csum verification during RMW cycle
c5a415627be4 btrfs: raid56: prepare data checksums for later RMW verification
97e382393310 btrfs: introduce a bitmap based csum range search function
cb649e81dad4 btrfs: refactor checksum calculations in btrfs_lookup_csums_range()
9f0eac070d23 btrfs: allocate btrfs_io_context without GFP_NOFAIL
cb3e217bdb39 btrfs: use btrfs_dev_name() helper to handle missing devices better
3c32c7212f16 btrfs: use cached state when looking for delalloc ranges with lseek
b3e744fe6d28 btrfs: use cached state when looking for delalloc ranges with fiemap
1ee51a06255d btrfs: update stale comment for count_range_bits()
8c6e53a79d16 btrfs: allow passing a cached state record to count_range_bits()
cfd7a17d9b45 btrfs: remove no longer used btrfs_next_extent_map()
8ddc8274e4be btrfs: search for delalloc more efficiently during lseek/fiemap
af979fd618a4 btrfs: skip unnecessary delalloc searches during lseek/fiemap
40daf3e095db btrfs: add an early exit when searching for delalloc range for lseek/fiemap
2c8f5e8cdf0f btrfs: remove leftover setting of EXTENT_UPTODATE state in an inode's io_tree
947a629988f1 btrfs: move tree block parentness check into validate_extent_buffer()
789d6a3a876e btrfs: concentrate all tree block parentness check parameters into one structure
bb21e30260a6 btrfs: move device->name RCU allocation and assign to btrfs_alloc_device()
3e09b5b2293f btrfs: constify input buffer parameter in compression code
ad3daf1c3f5b btrfs: raid56: remove the old error tracking system
75b470332965 btrfs: raid56: migrate recovery and scrub recovery path to use error_bitmap
2942a50dea74 btrfs: raid56: introduce btrfs_raid_bio::error_bitmap
e55cf7ca85e3 btrfs: pass btrfs_inode to btrfs_add_delayed_iput
5fc24314c894 btrfs: use btrfs_inode inside btrfs_verify_data_csum
99a01bd6388e btrfs: use btrfs_inode inside compress_file_range
99a81a444448 btrfs: switch async_chunk::inode to btrfs_inode
7a0443f031a6 btrfs: pass btrfs_inode to btrfs_inherit_iflags
4c45a4f4de1b btrfs: pass btrfs_inode to inode_tree_add
3c1b1c4c0e87 btrfs: pass btrfs_inode to fixup_tree_root_location
d1de429bceda btrfs: pass btrfs_inode to btrfs_inode_by_name
5b7544cb06fe btrfs: pass btrfs_inode to btrfs_unlink_subvol
bd54766e40df btrfs: pass btrfs_inode to btrfs_clear_delalloc_extent
62798a491561 btrfs: pass btrfs_inode to btrfs_split_delalloc_extent
4c5d166f6b36 btrfs: pass btrfs_inode to btrfs_set_delalloc_extent
2454151cdede btrfs: pass btrfs_inode to btrfs_merge_delalloc_extent
0988fc7bda79 btrfs: switch extent_io_tree::private_data to btrfs_inode and rename
35da5a7edec3 btrfs: drop private_data parameter from extent_io_tree_init
3c4f91e23a87 btrfs: pass btrfs_inode to btrfs_delete_subvolume
e569b1d54551 btrfs: pass btrfs_inode to __unlink_start_trans
621af94af334 btrfs: pass btrfs_inode to btrfs_check_data_csum
36eeaef5595d btrfs: switch btrfs_writepage_fixup::inode to btrfs_inode
82ca5a04f03f btrfs: pass btrfs_inode to btrfs_add_delalloc_inodes
7152b425da54 btrfs: pass btrfs_inode to btrfs_dirty_inode
e5d4d75bd324 btrfs: pass btrfs_inode to btrfs_inode_unlock
29b6352b1494 btrfs: pass btrfs_inode to btrfs_inode_lock
d9dcae67b7fe btrfs: pass btrfs_inode to btrfs_truncate
bb41632ea7d2 btrfs: pass btrfs_inode to btrfs_submit_dio_bio
e2884c3d4456 btrfs: switch btrfs_dio_private::inode to btrfs_inode
d8f9268ece91 btrfs: pass btrfs_inode to btrfs_repair_one_sector
c5ca391b0dd8 btrfs: pass btrfs_inode to submit_one_bio
d781c1c315ce btrfs: pass btrfs_inode to btrfs_submit_dio_repair_bio
b762041629e7 btrfs: pass btrfs_inode to btrfs_submit_data_read_bio
535a7e5d6b7e btrfs: pass btrfs_inode to btrfs_submit_data_write_bio
644094fd2854 btrfs: pass btrfs_inode to btrfs_submit_metadata_bio
5fcdadc27045 btrfs: pass btrfs_inode to btrfs_wq_submit_bio
bfa17066822c btrfs: pass btrfs_inode to btrfs_submit_bio_start_direct_io
882681ac9883 btrfs: pass btrfs_inode to btrfs_submit_bio_start
da67daab8dd6 btrfs: switch async_submit_bio::inode to btrfs_inode
ad65ecf30b03 btrfs: simplify btree_submit_bio_start and btrfs_submit_bio_start parameters
ab2072b2921e btrfs: change how submit bio callback is passed to btrfs_wq_submit_bio
7920b773bd8a btrfs: drop parameter compression_type from btrfs_submit_dio_repair_bio
19af6a7d345a btrfs: change how repair action is passed to btrfs_repair_one_sector
961f5b8bf48a btrfs: convert btrfs_block_group::seq_zone to runtime flag
0d7764ff58b4 btrfs: convert btrfs_block_group::needs_free_space to runtime flag
fd463ac4616e btrfs: zoned: use helper to check a power of two zone size
9e5e6d4e2e5e btrfs: zlib: use copy_page for full page copy
e2a041657774 btrfs: send: bump the extent reference count limit for backref walking
adf0241868bd btrfs: send: skip resolution of our own backref when finding clone source
f73853c7168a btrfs: send: avoid double extent tree search when finding clone source
88ffb665c894 btrfs: send: skip unnecessary backref iterations
66d04209e5a8 btrfs: send: cache leaf to roots mapping during backref walking
fa104a879073 btrfs: constify ulist parameter of ulist_next()
1baea6f18abf btrfs: reuse roots ulist on each leaf iteration for iterate_extent_inodes()
a2c8d27e5ee8 btrfs: use a structure to pass arguments to backref walking functions
6ce6ba534418 btrfs: use a single argument for extent offset in backref walking functions
c7499a64dcf6 btrfs: send: optimize clone detection to increase extent sharing
22a3c0ac8ed0 btrfs: send: avoid unnecessary backref lookups when finding clone source
344174a1a68a btrfs: send: drop unnecessary backref context field initializations
d3f41317f0fe btrfs: send: update comment at find_extent_clone()
61ce908a3c26 btrfs: send: avoid unnecessary path allocations when finding extent clone
1a1a28513970 btrfs: remove the unused endio_raid56_workers and btrfs_raid_bio::end_io_work
6bfd0133bee2 btrfs: raid56: switch scrub path to use a single function
cb3450b7d7d0 btrfs: raid56: extract scrub read bio list assembly code into a helper
93723095b5d5 btrfs: raid56: switch write path to rmw_rbio()
5eb30ee26fa4 btrfs: raid56: introduce the main entrance for RMW path
6486d21c99cb btrfs: raid56: extract rwm write bios assembly into a helper
509c27aa2fb6 btrfs: raid56: extract the rmw bio list build code into a helper
d817ce35d24a btrfs: raid56: switch recovery path to a single function
ec936b0354e2 btrfs: raid56: extract sector recovery code into a helper
d31968d9b6ac btrfs: raid56: extract the recovery bio list build code into a helper
30e3c897f4a8 btrfs: raid56: extract the pq generation code into a helper
9c5ff9b42c1c btrfs: raid56: extract the vertical stripe recovery code into recover_vertical()
ee5f017dccc7 btrfs: merge struct extent_page_data to btrfs_bio_ctrl
8ec8519b4789 btrfs: switch extent_page_data bit fields to bools
428c8e03109e btrfs: simplify percent calculation helpers, rename div_factor
20af93d97f46 btrfs: update stale comment for nowait direct IO writes
c30ff698da87 btrfs: fix SPDX comment in tree-mod-log.h
a982fc822001 btrfs: extract the inline extent read code into its own function
280f15cb96a6 btrfs: remove new_inline argument from btrfs_extent_item_to_extent_map()
a196a8944f77 btrfs: do not reset extent map members for inline extents read
affc54243386 btrfs: make inline extent read calculation much simpler
d52a1365258b btrfs: selftests: remove impossible inline extent at non-zero file offset
aa5d3003ddee btrfs: move orphan prototypes into orphan.h
7f0add250f82 btrfs: move super_block specific helpers into super.h
c03b22076bd2 btrfs: move super prototypes into super.h
6a6b4daf92fd btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h
5c11adcc383a btrfs: move verity prototypes into verity.h
77407dc032e2 btrfs: move dev-replace prototypes into dev-replace.h
2fc6822c99d7 btrfs: move scrub prototypes into scrub.h
677074792a1d btrfs: move relocation prototypes into relocation.h
33cf97a7b658 btrfs: move acl prototypes into acl.h
cc68414c6123 btrfs: move the snapshot drop related prototypes to extent-tree.h
b538a271ae9b btrfs: move the 32bit warn defines into messages.h
af142b6f44d3 btrfs: move file prototypes to file.h
7572dec8f522 btrfs: move ioctl prototypes into ioctl.h
c7a03b524d30 btrfs: move uuid tree prototypes to uuid-tree.h
7c8ede162805 btrfs: move file-item prototypes into their own header
f2b39277b87d btrfs: move dir-item prototypes into dir-item.h
59b818e064ab btrfs: move defrag related prototypes to their own header
a6a01ca61f49 btrfs: move the file defrag code into defrag.c
6e3df18ba7e8 btrfs: move the auto defrag code to defrag.c
778dd695dd4d btrfs: rename tree-defrag.c to defrag.c
2885fd632050 btrfs: move inode prototypes to btrfs_inode.h
083bd7e54e8e btrfs: move the printk and assert helpers to messages.c
503438834256 btrfs: add blk_types.h include to compression.h
3683fbbc2314 btrfs: add dependencies to fs.h and block-rsv.h
b31bed170d52 btrfs: move btrfs_chunk_item_size out of ctree.h
cb9a10a6504b btrfs: convert discard stat defs to enum
43dd529abed2 btrfs: update function comments
1751850fbd77 btrfs: remove unused btrfs_cond_migrate_bytes
911bd75aca73 btrfs: remove unused function prototypes
45c40c8f9541 btrfs: move root tree prototypes to their own header
6d2049a2f36f btrfs: delete unused function prototypes in ctree.h
2839c2c142dd btrfs: move delalloc space related prototypes to delalloc-space.h
a0231804affe btrfs: move extent-tree helpers into their own header file
e2f13b343c14 btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c
8483d40242c5 btrfs: remove extra space info prototypes in ctree.h
13d925c1c269 btrfs: minor whitespace in ctree.h
eb33a4d65b2a btrfs: move the lockdep helpers into locking.h
a56159d4080b btrfs: move btrfs_fs_info declarations into fs.h
94a48aef49f2 btrfs: extend btrfs_dir_item type to store encryption status
6db75318823a btrfs: use struct fscrypt_str instead of struct qstr
ab3c5c18e8fa btrfs: setup qstr from dentrys using fscrypt helper
e43eec81c516 btrfs: use struct qstr instead of name and namelen pairs
82c0efd3cd5d btrfs: merge module cleanup sequence to one helper
02bc392798f9 btrfs: sink gfp_t parameter to alloc_scrub_sector
fe10158c759c btrfs: switch GFP_NOFS to GFP_KERNEL in scrub_setup_recheck_block
e2896e791001 btrfs: sink gfp_t parameter to btrfs_qgroup_trace_extent
d68194b23822 btrfs: sink gfp_t parameter to btrfs_backref_iter_alloc
e9c83077d2be btrfs: remove temporary btrfs_map_token declaration in ctree.h
07e81dc94474 btrfs: move accessor helpers into accessors.h
ad1ac5012c2b btrfs: move btrfs_map_token to accessors
818fe33aed42 btrfs: rename struct-funcs.c to accessors.c
d83eb482b727 btrfs: move the compat/incompat flag masks to fs.h
55e5cfd36da5 btrfs: remove fs_info::pending_changes and related code
c52cc7b7acfb btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag
7966a6b5959b btrfs: move fs_info::flags enum to fs.h
fc97a410bd78 btrfs: move mount option definitions to fs.h
0d3a9cf8c306 btrfs: convert incompat and compat flag test helpers to macros
ec8eb376e271 btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h
bbde07a40a13 btrfs: push printk index code into their respective helpers
9b569ea0be6f btrfs: move the printk helpers out of ctree.h
e118578a8df7 btrfs: move assert helpers out of ctree.h
c7f13d428ea1 btrfs: move fs wide helpers out of ctree.h
875c627c5f20 btrfs: send add define for v2 buffer size
b307f06d37ca btrfs: simplify generation check in btrfs_get_dentry
63a7cb130718 btrfs: auto enable discard=async when possible
467761f90405 btrfs: sysfs: convert remaining scnprintf to sysfs_emit
5a75034e71ef btrfs: do not panic if we can't allocate a prealloc extent state
da2a071b6f14 btrfs: remove unused unlock_extent_atomic
48acc47d7813 btrfs: do not use GFP_ATOMIC in the read endio
7248e0cebbef btrfs: skip update of block group item if used bytes are the same
cc37ea61920e btrfs: convert __TRANS_* defines to enum bits
e0a8b9a74767 btrfs: convert QGROUP_* defines to enum bits
d3b4d0fd5518 btrfs: convert EXTENT_* bits to enums
fd8d2951f478 btrfs: convert extent_io page op defines to enum bits
c7321b76dfcc btrfs: convert BTRFS_ILOCK-* defines to enum bit
d549ff7bdbe7 btrfs: add helper for bit enumeration
5565b8e0adcd btrfs: make module init/exit match their sequence
33cff222faff btrfs: remove gfp_t flag from btrfs_tree_mod_log_insert_key()
879b22219831 btrfs: switch GFP_ATOMIC to GFP_NOFS when fixing up low keys
81531225e5bd btrfs: re-check reclaim condition in reclaim worker
cc4804bfd639 btrfs: skip reclaim if block_group is empty
6976201f188f btrfs: avoid unnecessary resolution of indirect backrefs during fiemap
877c14767f10 btrfs: avoid duplicated resolution of indirect backrefs during fiemap
583f4ac56254 btrfs: move up backref sharedness cache store and lookup functions
73e339e6ab74 btrfs: cache sharedness of the last few data extents during fiemap
56f5c19920d0 btrfs: remove useless logic when finding parent nodes
b629685803bc btrfs: remove roots ulist when checking data extent sharedness
84a7949d4097 btrfs: move ulists to data extent sharedness check context
61dbb952f0a5 btrfs: turn the backref sharedness check cache into a context object
ceb707da9ad9 btrfs: directly pass the inode to btrfs_is_data_extent_shared()
a0a5472ad802 btrfs: remove checks for a 0 inode number during backref walking
c902421927ff btrfs: remove checks for a root with id 0 during backref walking
206c1d32f381 btrfs: drop redundant bflags initialization when allocating extent buffer
b98c6cd59e90 btrfs: drop pointless memset when cloning extent buffer
a2853ffc2eb9 btrfs: skip unnecessary delalloc search during fiemap and lseek
013f9c70d293 btrfs: skip unnecessary extent map searches during fiemap and lseek
d47704bd1c78 btrfs: get the next extent map during fiemap/lseek more efficiently
88074c8b1376 btrfs: raid56: make it more explicit that cache rbio should have all its data sectors uptodate
797d74b74985 btrfs: raid56: allocate memory separately for rbio pointers
ff2b64a22a2e btrfs: raid56: cleanup for function __free_raid_bio()
765c3fe99bcd btrfs: introduce BTRFS_RESERVE_FLUSH_EMERGENCY
7a66eda351ba btrfs: move the btrfs_verity_descriptor_item defs up in ctree.h
890d2b1aa38b btrfs: move btrfs_next_old_item into ctree.c
eda517fd0cee btrfs: move free space cachep's out of ctree.h
226463d7b100 btrfs: move btrfs_path_cachep out of ctree.h
956504a331a6 btrfs: move trans_handle_cachep out of ctree.h
f60acad355cf btrfs: move btrfs_print_data_csum_error into inode.c
f1e5c6185ca1 btrfs: move flush related definitions to space-info.h
06d61cb101f3 btrfs: move btrfs_should_fragment_free_space into block-group.c
390d89ccf672 btrfs: move discard stat defs to free-space-cache.h
ed4c491a3db2 btrfs: move BTRFS_MAX_MIRRORS into scrub.c
ad4b63caf56d btrfs: move maximum limits to btrfs_tree.h
51129b33d391 btrfs: move btrfs_get_block_group helper out of disk-io.h
4300c58f8090 btrfs: move btrfs on-disk definitions out of ctree.h
4ce76e8e7836 btrfs: remove unused BTRFS_IOPRIO_READA
ea206640a600 btrfs: remove unused BTRFS_TOTAL_BYTES_PINNED_BATCH
d60d956eb41f btrfs: remove unused set/clear_pending_info helpers
c1b078545e64 btrfs: simplify cleanup after error in btrfs_create_tree
e5e886bad9e9 btrfs: add cached_state to read_extent_buffer_subpage
123a7f008c9e btrfs: cache the failed state when locking extents
9c5c9604631a btrfs: use a cached_state everywhere in relocation
632ddfa2131f btrfs: use cached_state for btrfs_check_nocow_lock
83ae4133ac94 btrfs: add a cached_state to try_lock_extent