fe74cee6588a Merge branch 'for-next-next-v6.4-20230613' into for-next-20230613
400f898ced4c Merge branch 'for-next-current-v6.3-20230613' into for-next-20230613
123e242788da Merge branch 'misc-next' into for-next-next-v6.4-20230613
12bfb4e12ef4 Merge branch 'next-fixes' into for-next-next-v6.4-20230613
ba19a3233ccd Merge branch 'misc-6.4' into for-next-current-v6.3-20230613
f01726aafaeb Merge branch 'misc-6.4' into next-fixes
745806fb4554 btrfs: do not ASSERT() on duplicated global roots
b75d27bc5c32 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
334cba9775e6 btrfs: zoned: do not limit delalloc size to fs_info->max_extent_size
1a5eaec9de70 btrfs: can_nocow_file_extent should pass down args->strict from callers
15f185eb2443 btrfs: fix iomap_begin length for nocow writes
f72fd6208645 btrfs: scrub: remove btrfs_fs_info::scrub_wr_completion_workers
10193ad01af4 btrfs: scrub: remove scrub_ctx::csum_list member
3f79f08c1499 btrfs: do not ASSERT() on duplicated global roots
c5bf8b9d3494 btrfs: send: do not BUG_ON() on unexpected symlink data extent
18268e7a21b4 btrfs: do not BUG_ON() when dropping inode items from log root
3111c13d5936 btrfs: replace BUG_ON() at split_item() with proper error handling
cac833b8b846 btrfs: do not BUG_ON() on tree mod log failures at btrfs_del_ptr()
b2bca230b94e btrfs: do not BUG_ON() on tree mod log failures at insert_ptr()
08128655e24b btrfs: do not BUG_ON() on tree mod log failure at insert_new_root()
38e3921db4bc btrfs: do not BUG_ON() on tree mod log failures at push_nodes_for_insert()
771d448d79d7 btrfs: abort transaction at update_ref_for_cow() when ref count is zero
a49c3ed6d193 btrfs: abort transaction at balance_level() when left child is missing
6211dbeffc50 btrfs: avoid unnecessarily setting the fs to RO and error state at balance_level()
e715913da5b5 btrfs: rename enospc label to out at balance_level()
3d65a59d4621 btrfs: do not BUG_ON() on tree mod log failure at balance_level()
7f5a6572760d btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
d784e1292a92 btrfs: avoid tree mod log ENOMEM failures when we don't need to log
2d7f5be7cf76 btrfs: fix extent buffer leak after tree mod log failure at split_node()
6b2f8b5dc824 btrfs: add missing error handling when logging operation while COWing extent buffer
c14d7a1ff862 btrfs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method
ebe29bb2de84 btrfs: update documentation for a block group's bg_list member
bde919c1d010 btrfs: reinsert BGs failed to reclaim
a57bf2cbf5b4 btrfs: bail out reclaim process if filesystem is read-only
cb86e2a25af3 btrfs: move out now unused BG from the reclaim list
8e5f37143fec btrfs: delete unused BGs while reclaiming BGs
f27f56af02ee btrfs: use btrfs_finish_ordered_extent to complete buffered writes
c843b1801267 btrfs: use btrfs_finish_ordered_extent to complete direct writes
aff846244c8c btrfs: use btrfs_finish_ordered_extent to complete compressed writes
2097fc1d2f42 btrfs: open code end_extent_writepage in end_bio_extent_writepage
1c3e20e3e77f btrfs: add a btrfs_finish_ordered_extent helper
f453094228d1 btrfs: factor out a btrfs_queue_ordered_fn helper
ce6ce907f60d btrfs: factor out a can_finish_ordered_extent helper
d3bfa45e8bfc btrfs: use bbio->ordered in btrfs_csum_one_bio
3aeadbf9b4c7 btrfs: add an ordered_extent pointer to struct btrfs_bio
c096f1a998a4 btrfs: open code btrfs_bio_end_io in btrfs_dio_submit_io
9600902df365 btrfs: add a is_data_bbio helper
4a3c9ba3e2c0 btrfs: remove btrfs_add_ordered_extent
9a4daa1e03c4 btrfs: pass an ordered_extent to btrfs_submit_compressed_write
e1b67914a005 btrfs: pass an ordered_extent to btrfs_reloc_clone_csums
e7ce47d8984e btrfs: merge the two calls to btrfs_add_ordered_extent in run_delalloc_nocow
965e6aa81de2 btrfs: limit write bios to a single ordered extent
a501dd9c11d6 btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that get split
96c8a211f25f btrfs: add block-group tree to lockdep classes
7f3c95fc1b3c btrfs: don't treat zoned writeback as being from an async helper thread
e69b71d0eba4 btrfs: only call __extent_writepage_io from extent_write_locked_range
89d37b09c772 btrfs: move writeback_control::nr_to_write update to __extent_writepage
531801ce7b34 btrfs: remove non-standard extent handling in __extent_writepage_io
4d15c4e5a5eb btrfs: remove PAGE_SET_ERROR
90ce194deb31 btrfs: stop setting PageError in the data I/O path
55ae61c8bf0e btrfs: don't check PageError in __extent_writepage
16861b484ddd btrfs: rename cow_file_range_async to run_delalloc_compressed
354eba610dae btrfs: don't fail writeback when allocating the compression context fails
bcb27cf222b9 btrfs: don't check PageError in btrfs_verify_page
9bf660901d91 btrfs: fix fsverify read error handling in end_page_read
8641018091ad btrfs: factor out a btrfs_verify_page helper
ece0112c1aa2 btrfs: fix range_end calculation in extent_write_locked_range
b9eb0240efd7 btrfs: insert tree mod log move in push_node_left
0b57e7d79414 btrfs: warn on invalid slot in tree mod log rewind
9781d15ee7b1 btrfs: disable allocation warnings for compression workspaces
e37c7a2975f8 btrfs: open code need_full_stripe conditions
be98c007e60f btrfs: open code btrfs_map_sblock
e5b5b1a64dc7 btrfs: rename __btrfs_map_block to btrfs_map_block
1934e9b785a3 btrfs: remove unused btrfs_map_block
002383f3b966 btrfs: optimize simple reads in btrfsic_map_block
86aa3a48f305 btrfs: remove unused BTRFS_MAP_DISCARD
7f29d7b86e7f btrfs: add xxhash to fast checksum implementations
2a54c1ea095c btrfs: pass the new logical address to split_extent_map
908f18ee3e97 btrfs: defer splitting of ordered extents until I/O completion
5681c8c06702 btrfs: handle completed ordered extents in btrfs_split_ordered_extent
d3cdfb137772 btrfs: atomically insert the new extent in btrfs_split_ordered_extent
cdf0308c2d9e btrfs: split btrfs_alloc_ordered_extent to allocation and insertion helpers
5c8afd12db53 btrfs: return the new ordered_extent from btrfs_split_ordered_extent
9c560bf05497 btrfs: reorder conditions in btrfs_extract_ordered_extent
5ef5a6dd4ebc btrfs: move split_extent_map to extent_map.c
d0bb8f43846d btrfs: record orig_physical only for the original bio
69d9d600a082 btrfs: optimize the logical to physical mapping for zoned writes
6620c6ca8f95 btrfs: rename the bytenr field in struct btrfs_ordered_sum to logical
e40004b194b6 btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
27887359fc24 btrfs: don't call btrfs_record_physical_zoned for failed append
73645a3dbd91 btrfs: optimize out btrfs_is_zoned for !CONFIG_BLK_DEV_ZONED
45d088019316 btrfs: make btrfs_destroy_delayed_refs() return void
deccae40e4b3 btrfs: can_nocow_file_extent should pass down args->strict from callers
7833b865953c btrfs: fix iomap_begin length for nocow writes
355aa9620a79 btrfs: remove unnecessary prototype declarations at disk-io.c
dc5689afb229 btrfs: use a single switch statement when initializing delayed ref head
1dcd3b6c3500 btrfs: use bool type for delayed ref head fields that are used as booleans
a33af1fbab6f btrfs: assert correct lock is held at btrfs_select_ref_head()
429598ae5629 btrfs: get rid of label and goto at insert_delayed_ref()
e1947c5f5c7b btrfs: make insert_delayed_ref() return a bool instead of an int
96b3cc984627 btrfs: use a bool to track qgroup record insertion when adding ref head
621b953232d6 btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_node
fe8cd9459940 btrfs: remove unused is_head field from struct btrfs_delayed_ref_node
a48b9f242e0a btrfs: reorder some members of struct btrfs_delayed_ref_head
9d5cb19551ad btrfs: use the same uptodate variable for end_bio_extent_readpage()
bd9133e93b6b btrfs: subpage: make alloc_extent_buffer() handle previously uptodate range efficiently
1355b21d73cf btrfs: print assertion failure report and stack trace from the same line
d9af1c38703a btrfs: subpage: dump extra subpage bitmaps for debug
4abf372a621f btrfs: use alloc_ordered_workqueue() to create ordered workqueues
6307bfd0a066 btrfs: drop gfp from parameter extent state helpers
8aea400022eb btrfs: pass NOWAIT for set/clear extent bits as another bit
181117b0affa btrfs: drop NOFAIL from set_extent_bit allocation masks
e3f11eb38783 btrfs: open code set_extent_bits
4a57ef66fa8d btrfs: open code set_extent_bits_nowait
5d810b5aefb2 btrfs: open code set_extent_dirty
46246e6e0b8f btrfs: open code set_extent_new
000ec1771537 btrfs: open code set_extent_delalloc
c7c1ab3da969 btrfs: open code set_extent_defrag
7e67ee382bad btrfs: remove a pointless NULL check in btrfs_lookup_fs_root
18f11db32fa9 btrfs: convert btrfs_get_global_root to use a switch statement
46051405f465 btrfs: fix the btrfs_get_global_root return value
0f184f455f9f btrfs: add and fix comments in btrfs_fs_devices
cc0c5b057725 btrfs: consolidate uuid comparisons in btrfs_validate_super
1623e2ff83b7 btrfs: simplify how changed fsid and metadata_uuid is checked
93ba7faad77b btrfs: simplify fsid and metadata_uuid comparisons
5db7934a7682 btrfs: return bool from check_tree_block_fsid instead of int
8dc6f62f7346 btrfs: add comment about metadata_uuid in btrfs_fs_devices
bcf641be195c btrfs: merge calls to alloc_fs_devices in device_list_add
237f47219698 btrfs: streamline fsid checks in alloc_fs_devices
d28d04144f0d btrfs: reduce struct btrfs_fs_devices size by moving fsid_change
9252cd5d74d5 btrfs: merge write_one_subpage_eb into write_one_eb
d4ce7d9c14e8 btrfs: use per-buffer locking for extent_buffer reading
266ce35ab2a5 btrfs: stop using lock_extent in btrfs_buffer_uptodate
12f21d391570 btrfs: don't check for uptodate pages in read_extent_buffer_pages
942a67c42074 btrfs: stop using PageError for extent_buffers
911941e9a6b4 btrfs: remove the io_pages field in struct extent_buffer
3607da2de9f8 btrfs: remove the extent_buffer lookup in btree block checksumming
785711699a92 btrfs: use a separate end_io handler for extent_buffer writing
19887995499d btrfs: don't use btrfs_bio_ctrl for extent buffer writing
cd67c0082907 btrfs: move page locking from lock_extent_buffer_for_io to write_one_eb
cad71ce1cd90 btrfs: submit a writeback bio per extent_buffer
5af20060fcca btrfs: return bool from lock_extent_buffer_for_io
dd3239ad7158 btrfs: do not try to unlock the extent for non-subpage metadata reads
4816d31c0769 btrfs: use a separate end_io handler for read_extent_buffer
567b40f9dfca btrfs: remove the mirror_num argument to btrfs_submit_compressed_read
0d54309a0955 btrfs: don't use btrfs_bio_ctrl for extent buffer reading
66cfd975d94e btrfs: always read the entire extent_buffer
01688500ba22 btrfs: merge verify_parent_transid and btrfs_buffer_uptodate
c599c517f676 btrfs: move setting the buffer uptodate out of validate_extent_buffer
528047dc2859 btrfs: subpage: fix error handling in end_bio_subpage_eb_writepage
14b10d927780 btrfs: mark extent_buffer_under_io static
ff04d3057585 btrfs: trigger orphan inode cleanup during START_SYNC ioctl
575a94ed3b36 btrfs: fix comment referring to no longer existing btrfs_clean_tree_block()
9f169b42e467 btrfs: change for_rename argument of btrfs_record_unlink_dir() to bool
6cf4d11d8fc1 btrfs: remove pointless label and goto at btrfs_record_unlink_dir()
a47bf6fb1ea1 btrfs: update comments at btrfs_record_unlink_dir() to be more clear
bd9c951a3c13 btrfs: use inode_logged() at btrfs_record_unlink_dir()
be0f58c71cce btrfs: use inode_logged() at need_log_inode()
f4f39528410f btrfs: scrub: remove more unused functions
a131a9a502a4 btrfs: handle tree backref walk error properly
37ffbbe9ad58 btrfs: don't hold an extra reference for redirtied buffers
da2106508963 btrfs: fix dirty_metadata_bytes for redirtied buffers
008424e02fc8 btrfs: unexport btrfs_run_discard_work and make it static
1abf0962b8b5 btrfs: rename del_ptr to btrfs_del_ptr and export it
667f09438709 btrfs: add a btrfs_csum_type_size helper
b14e7ded0626 btrfs: add __KERNEL__ check for btrfs_no_printk
09a24bef3862 btrfs: move split_flags/combine_flags helpers to inode-item.h
ca840ba9453c btrfs: move btrfs_verify_level_key into tree-checker.c
169c292bae74 btrfs: add __btrfs_check_node helper
73265848e747 btrfs: extend btrfs_leaf_check to return btrfs_tree_block_status
4b76604269f2 btrfs: use btrfs_tree_block_status for leaf item errors
626fba6c4eff btrfs: add btrfs_tree_block_status definitions to tree-checker.h
4ede49b60e54 btrfs: simplify btrfs_check_leaf_* helpers into a single helper
9568d5fee8e5 btrfs: remove level argument from btrfs_set_block_flags
d99b3a6a1757 btrfs: move btrfs_check_trunc_cache_free_space into block-rsv.c
63d10c3d0aa9 btrfs: scrub: use recovered data stripes as cache to avoid unnecessary read
280c05e78890 btrfs: assert tree lock is held when removing free space entries
8790f3fa0668 btrfs: assert tree lock is held when linking free space
79babb8b7e9f btrfs: assert tree lock is held when searching for free space entries
462bc75bacca btrfs: assert proper locks are held at tree_insert_offset()
f556985509de btrfs: simplify arguments to tree_insert_offset()
73f59a176d30 btrfs: use precomputed end offsets at do_trimming()
0be8929bb747 btrfs: avoid searching twice for previous node when merging free space entries
7766f0a7de3d btrfs: avoid extra memory allocation when copying free space cache
270904f6d8b1 btrfs: simplify transid initialization in btrfs_ioctl_wait_sync
1731fef75093 btrfs: output affected files when relocation fails
5e4737570cf6 btrfs: remove hipri_workers workqueue
2f4687887485 btrfs: determine synchronous writers from bio or writeback control
e905faa52b45 btrfs: submit IO synchronously for fast checksum implementations
4b2b3f985cee btrfs: use SECTOR_SHIFT to convert LBA to physical offset
2fd4c78d34a7 btrfs: use SECTOR_SHIFT to convert physical offset to LBA
8eaac0e75f3d btrfs: improve leaf dump and error handling
75f9bea10f16 btrfs: print-tree: pass const extent buffer pointer
3593c756dd12 btrfs: export bitmap_test_range_all_{set,zero}
bd8b241a4d1d btrfs: tag as unlikely the key comparison when checking sibling keys
7d63ea5437d1 btrfs: make btrfs_free_device() static
6978d6ec115f btrfs: don't commit transaction for every subvol create
bb510283b27f btrfs: unexport btrfs_prev_leaf()