997253911730 Merge branch 'for-next-next-v6.4-20230619' into for-next-20230619
e813613672f1 Merge branch 'for-next-current-v6.3-20230619' into for-next-20230619
8d6cbb58944e Merge branch 'dev/slab-no-merge' into for-next-next-v6.4-20230619
2f4af5f63978 Merge branch 'misc-next' into for-next-next-v6.4-20230619
47fed18e09cd Merge branch 'next-fixes' into for-next-next-v6.4-20230619
036028808caa Merge branch 'misc-6.4' into for-next-current-v6.3-20230619
8a4a0b2a3eaf btrfs: fix race between quota disable and relocation
08eb2ad9db0a btrfs: add comment to struct btrfs_fs_info::dirty_cowonly_roots
babebf023e66 btrfs: fix race when deleting free space root from the dirty cow roots list
b31cb5a6eb7a btrfs: fix race when deleting quota root from the dirty cow roots list
6442550027f7 btrfs: tracepoints: also show actual number of the outstanding extents
9a2251961474 btrfs: disable slab merging in debug build
c9e561c4753c btrfs: update i_version in update_dev_time
e794203e9d2d btrfs: make btrfs_compressed_bioset static
160fe8f6fdb1 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
81db6ae842b3 btrfs: scrub: remove btrfs_fs_info::scrub_wr_completion_workers
c2bbc0bab0bb btrfs: scrub: remove scrub_ctx::csum_list member
6822b3f70860 btrfs: do not BUG_ON after failure to migrate space during truncation
df9f27823904 btrfs: do not BUG_ON on failure to get dir index for new snapshot
6f3eb72a1f26 btrfs: send: do not BUG_ON() on unexpected symlink data extent
fc4026e26b33 btrfs: do not BUG_ON() when dropping inode items from log root
7569141e8fa8 btrfs: replace BUG_ON() at split_item() with proper error handling
751a27615dda btrfs: do not BUG_ON() on tree mod log failures at btrfs_del_ptr()
50b5d1fc41da btrfs: do not BUG_ON() on tree mod log failures at insert_ptr()
f61aa7ba08ab btrfs: do not BUG_ON() on tree mod log failure at insert_new_root()
11d6ae03557e btrfs: do not BUG_ON() on tree mod log failures at push_nodes_for_insert()
eced687e224e btrfs: abort transaction at update_ref_for_cow() when ref count is zero
725026ed593f btrfs: abort transaction at balance_level() when left child is missing
87b8e9d06e33 btrfs: avoid unnecessarily setting the fs to RO and error state at balance_level()
daefe4d435d7 btrfs: rename enospc label to out at balance_level()
39020d8abc7e btrfs: do not BUG_ON() on tree mod log failure at balance_level()
40b0a7493885 btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
8793ed87b376 btrfs: avoid tree mod log ENOMEM failures when we don't need to log
ede600e497b1 btrfs: fix extent buffer leak after tree mod log failure at split_node()
d09c51521f22 btrfs: add missing error handling when logging operation while COWing extent buffer
f02c75e630f0 btrfs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method
aadb164bdd5c btrfs: update documentation for a block group's bg_list member
7e2718099438 btrfs: reinsert BGs failed to reclaim
93463ff7b546 btrfs: bail out reclaim process if filesystem is read-only
a9f189716cf1 btrfs: move out now unused BG from the reclaim list
3ed01616bad6 btrfs: delete unused BGs while reclaiming BGs
0d394cca8435 btrfs: use btrfs_finish_ordered_extent to complete buffered writes
b41b6f6937dc btrfs: use btrfs_finish_ordered_extent to complete direct writes
7dd439549036 btrfs: use btrfs_finish_ordered_extent to complete compressed writes
4ba8223d3d01 btrfs: open code end_extent_writepage in end_bio_extent_writepage
122e9ede5355 btrfs: add a btrfs_finish_ordered_extent helper
2d6f107ea687 btrfs: factor out a btrfs_queue_ordered_fn helper
53df25869a56 btrfs: factor out a can_finish_ordered_extent helper
c59360f61aeb btrfs: use bbio->ordered in btrfs_csum_one_bio
ec63b84d4611 btrfs: add an ordered_extent pointer to struct btrfs_bio
112397acc358 btrfs: open code btrfs_bio_end_io in btrfs_dio_submit_io
fbe960877b6f btrfs: add a is_data_bbio helper
ebfe4d4eb6ef btrfs: remove btrfs_add_ordered_extent
d611935b5d43 btrfs: pass an ordered_extent to btrfs_submit_compressed_write
34bfaf15304b btrfs: pass an ordered_extent to btrfs_reloc_clone_csums
3daea5fda1cd btrfs: merge the two calls to btrfs_add_ordered_extent in run_delalloc_nocow
a39da514eba8 btrfs: limit write bios to a single ordered extent
c731cd0b6d25 btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that get split
1a1b0e729d22 btrfs: add block-group tree to lockdep classes
7027f87108ce btrfs: don't treat zoned writeback as being from an async helper thread
eb34dceace98 btrfs: only call __extent_writepage_io from extent_write_locked_range
9ecdbee819ca btrfs: move writeback_control::nr_to_write update to __extent_writepage
f22b5dcbd71e btrfs: remove non-standard extent handling in __extent_writepage_io
a994310aa26f btrfs: remove PAGE_SET_ERROR
2b2553f12355 btrfs: stop setting PageError in the data I/O path
3e92499e3b00 btrfs: don't check PageError in __extent_writepage
bb7b05fe1b51 btrfs: rename cow_file_range_async to run_delalloc_compressed
973fb26e81a9 btrfs: don't fail writeback when allocating the compression context fails
57201dddd6f8 btrfs: don't check PageError in btrfs_verify_page
2c14f0ffdd30 btrfs: fix fsverify read error handling in end_page_read
ed9ee98ecb4f btrfs: factor out a btrfs_verify_page helper
36614a3beba3 btrfs: fix range_end calculation in extent_write_locked_range
5cead5422a0e btrfs: insert tree mod log move in push_node_left
95c8e349d8e8 btrfs: warn on invalid slot in tree mod log rewind
8ab546bb30bd btrfs: disable allocation warnings for compression workspaces
8680e58761eb btrfs: open code need_full_stripe conditions
723b8bb17e2e btrfs: open code btrfs_map_sblock
cd4efd210edf btrfs: rename __btrfs_map_block to btrfs_map_block
d69d7ffc26f1 btrfs: remove unused btrfs_map_block
78a213a05df3 btrfs: optimize simple reads in btrfsic_map_block
3965a4c793d3 btrfs: remove unused BTRFS_MAP_DISCARD
efcfcbc6a361 btrfs: add xxhash to fast checksum implementations
f000bc6fe43c btrfs: pass the new logical address to split_extent_map
71df088c1cc0 btrfs: defer splitting of ordered extents until I/O completion
52b1fdca23ac btrfs: handle completed ordered extents in btrfs_split_ordered_extent
816f589b8d43 btrfs: atomically insert the new extent in btrfs_split_ordered_extent
53d9981ca20e btrfs: split btrfs_alloc_ordered_extent to allocation and insertion helpers
b0307e28642e btrfs: return the new ordered_extent from btrfs_split_ordered_extent
ebdb44a00e25 btrfs: reorder conditions in btrfs_extract_ordered_extent
a6f3e205e491 btrfs: move split_extent_map to extent_map.c
3887653c44ec btrfs: record orig_physical only for the original bio
cbfce4c7fbde btrfs: optimize the logical to physical mapping for zoned writes
5cfe76f846d5 btrfs: rename the bytenr field in struct btrfs_ordered_sum to logical
6e4b2479ab38 btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
e9cb93b9fbd0 btrfs: don't call btrfs_record_physical_zoned for failed append
dd8b7b041670 btrfs: optimize out btrfs_is_zoned for !CONFIG_BLK_DEV_ZONED
99f09ce309b8 btrfs: make btrfs_destroy_delayed_refs() return void
184533e3618f btrfs: remove unnecessary prototype declarations at disk-io.c
f1ed785a5b9c btrfs: use a single switch statement when initializing delayed ref head
61c681fef7dd btrfs: use bool type for delayed ref head fields that are used as booleans
1e6b71c34bbb btrfs: assert correct lock is held at btrfs_select_ref_head()
798f4d95db0d btrfs: get rid of label and goto at insert_delayed_ref()
f38462c4476c btrfs: make insert_delayed_ref() return a bool instead of an int
293f8197a490 btrfs: use a bool to track qgroup record insertion when adding ref head
4d34ad34d7cc btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_node
53499d5f6b68 btrfs: remove unused is_head field from struct btrfs_delayed_ref_node
315dd5cc75dd btrfs: reorder some members of struct btrfs_delayed_ref_head
31dd8c81ddfa btrfs: use the same uptodate variable for end_bio_extent_readpage()
5a96341927b0 btrfs: subpage: make alloc_extent_buffer() handle previously uptodate range efficiently
b831306b3b7d btrfs: print assertion failure report and stack trace from the same line
75258f20fb70 btrfs: subpage: dump extra subpage bitmaps for debug
58e814fcacc1 btrfs: use alloc_ordered_workqueue() to create ordered workqueues
1d1268004430 btrfs: drop gfp from parameter extent state helpers
62bc60473ad2 btrfs: pass NOWAIT for set/clear extent bits as another bit
7dde7a8ab324 btrfs: drop NOFAIL from set_extent_bit allocation masks
0acd32c294cf btrfs: open code set_extent_bits
e85de967bca4 btrfs: open code set_extent_bits_nowait
fe1a598c42a0 btrfs: open code set_extent_dirty
eea8686e6830 btrfs: open code set_extent_new
66240ab11590 btrfs: open code set_extent_delalloc
dc5646c15cd6 btrfs: open code set_extent_defrag
25ac047c9d3d btrfs: remove a pointless NULL check in btrfs_lookup_fs_root
e91909aace33 btrfs: convert btrfs_get_global_root to use a switch statement
85724171b302 btrfs: fix the btrfs_get_global_root return value
d85512d54e15 btrfs: add and fix comments in btrfs_fs_devices
25984a5ae8f1 btrfs: consolidate uuid comparisons in btrfs_validate_super
a3c54b0be1a2 btrfs: simplify how changed fsid and metadata_uuid is checked
1a8983450090 btrfs: simplify fsid and metadata_uuid comparisons
413fb1bc1d32 btrfs: return bool from check_tree_block_fsid instead of int
f62c302e6dfe btrfs: add comment about metadata_uuid in btrfs_fs_devices
c6930d7d11e3 btrfs: merge calls to alloc_fs_devices in device_list_add
19c4c49ca9d0 btrfs: streamline fsid checks in alloc_fs_devices
4693893bf8d0 btrfs: reduce struct btrfs_fs_devices size by moving fsid_change
46672a44b023 btrfs: merge write_one_subpage_eb into write_one_eb
d7172f52e993 btrfs: use per-buffer locking for extent_buffer reading
9e2aff90fc2a btrfs: stop using lock_extent in btrfs_buffer_uptodate
f3d315eb9372 btrfs: don't check for uptodate pages in read_extent_buffer_pages
011134f444dc btrfs: stop using PageError for extent_buffers
113fa05c2fa1 btrfs: remove the io_pages field in struct extent_buffer
31d89399dad0 btrfs: remove the extent_buffer lookup in btree block checksumming
cd88a4fdbf1e btrfs: use a separate end_io handler for extent_buffer writing
b51e6b4bda5b btrfs: don't use btrfs_bio_ctrl for extent buffer writing
81a79b6ae451 btrfs: move page locking from lock_extent_buffer_for_io to write_one_eb
50b21d7a066f btrfs: submit a writeback bio per extent_buffer
9fdd160160f0 btrfs: return bool from lock_extent_buffer_for_io
3d66b4b27d2b btrfs: do not try to unlock the extent for non-subpage metadata reads
046b562b20a5 btrfs: use a separate end_io handler for read_extent_buffer
e19493107675 btrfs: remove the mirror_num argument to btrfs_submit_compressed_read
b78b98e06fb7 btrfs: don't use btrfs_bio_ctrl for extent buffer reading
e95382834cf8 btrfs: always read the entire extent_buffer
d87e6575e9d1 btrfs: merge verify_parent_transid and btrfs_buffer_uptodate
aebcc1596b5c btrfs: move setting the buffer uptodate out of validate_extent_buffer
243984b3b991 btrfs: subpage: fix error handling in end_bio_subpage_eb_writepage
7f26fb1c13f7 btrfs: mark extent_buffer_under_io static
edc728814f9a btrfs: trigger orphan inode cleanup during START_SYNC ioctl
618d1d7da587 btrfs: fix comment referring to no longer existing btrfs_clean_tree_block()
59fcf388172d btrfs: change for_rename argument of btrfs_record_unlink_dir() to bool
acfb5a4f1109 btrfs: remove pointless label and goto at btrfs_record_unlink_dir()
1e75ef039d1a btrfs: update comments at btrfs_record_unlink_dir() to be more clear
d67ba263f4ad btrfs: use inode_logged() at btrfs_record_unlink_dir()
bf1f4fd3fadb btrfs: use inode_logged() at need_log_inode()
b9cb105e737f btrfs: scrub: remove more unused functions
b7f9945a1479 btrfs: handle tree backref walk error properly
f880fe6e0b4b btrfs: don't hold an extra reference for redirtied buffers
f18cc97845aa btrfs: fix dirty_metadata_bytes for redirtied buffers
bb5167e6197b btrfs: unexport btrfs_run_discard_work and make it static
016f9d0b7442 btrfs: rename del_ptr to btrfs_del_ptr and export it
b3cbfb0dd4a8 btrfs: add a btrfs_csum_type_size helper
a95b7f93602e btrfs: add __KERNEL__ check for btrfs_no_printk
f541833c8eea btrfs: move split_flags/combine_flags helpers to inode-item.h
2cac5af16537 btrfs: move btrfs_verify_level_key into tree-checker.c
c26fa931eb18 btrfs: add __btrfs_check_node helper
924452c80e81 btrfs: extend btrfs_leaf_check to return btrfs_tree_block_status
c8d542156354 btrfs: use btrfs_tree_block_status for leaf item errors
a7b4e6c7aa66 btrfs: add btrfs_tree_block_status definitions to tree-checker.h
85d8a826c7cd btrfs: simplify btrfs_check_leaf_* helpers into a single helper
4aec05fa5a19 btrfs: remove level argument from btrfs_set_block_flags
54d687c13aef btrfs: move btrfs_check_trunc_cache_free_space into block-rsv.c
94ead93e6375 btrfs: scrub: use recovered data stripes as cache to avoid unnecessary read
7e5ba559941f btrfs: assert tree lock is held when removing free space entries
9649bd9a29a7 btrfs: assert tree lock is held when linking free space
91de9e978d1c btrfs: assert tree lock is held when searching for free space entries
13c2018fcc27 btrfs: assert proper locks are held at tree_insert_offset()
0d6bac4d30b8 btrfs: simplify arguments to tree_insert_offset()
b77433b14462 btrfs: use precomputed end offsets at do_trimming()
9085f42571e5 btrfs: avoid searching twice for previous node when merging free space entries
fbb2e654d898 btrfs: avoid extra memory allocation when copying free space cache
12df6a622ed8 btrfs: simplify transid initialization in btrfs_ioctl_wait_sync
b9a9a85059cd btrfs: output affected files when relocation fails
8bfec2e426e4 btrfs: remove hipri_workers workqueue
e917ff56c8e7 btrfs: determine synchronous writers from bio or writeback control
da023618076a btrfs: submit IO synchronously for fast checksum implementations
adbe7e388e42 btrfs: use SECTOR_SHIFT to convert LBA to physical offset
29e70be261d9 btrfs: use SECTOR_SHIFT to convert physical offset to LBA
eee3b811784e btrfs: improve leaf dump and error handling
6c75a589cb35 btrfs: print-tree: pass const extent buffer pointer
b5345d6ceeee btrfs: export bitmap_test_range_all_{set,zero}
88ad95b05576 btrfs: tag as unlikely the key comparison when checking sibling keys
f2db4d5cb457 btrfs: make btrfs_free_device() static
1b53e51a4a8f btrfs: don't commit transaction for every subvol create
f469c8bd90b7 btrfs: unexport btrfs_prev_leaf()
02a8f929f7d8 Merge branch 'misc-6.4' into next-fixes