d92b8a7687ee Merge branch 'for-next-next-v6.4-20230609' into for-next-20230609
37ea06e109f2 Merge branch 'for-next-current-v6.3-20230609' into for-next-20230609
c9d5cfdc5b54 Merge branch 'misc-next' into for-next-next-v6.4-20230609
0cdb652aa237 Merge branch 'next-fixes' into for-next-next-v6.4-20230609
e0d5012c2277 Merge branch 'misc-6.4' into for-next-current-v6.3-20230609
3c5636399057 btrfs: replace BUG_ON() at split_item() with proper error handling
c05d5e6a2ba0 btrfs: do not BUG_ON() on tree mod log failures at btrfs_del_ptr()
920f3147adc2 btrfs: do not BUG_ON() on tree mod log failures at insert_ptr()
e30f240178dc btrfs: do not BUG_ON() on tree mod log failure at insert_new_root()
3d563612641e btrfs: do not BUG_ON() on tree mod log failures at push_nodes_for_insert()
89aff3d22b62 btrfs: abort transaction at update_ref_for_cow() when ref count is zero
dff5715a1028 btrfs: abort transaction at balance_level() when left child is missing
193eacf17a90 btrfs: avoid unnecessarily setting the fs to RO and error state at balance_level()
6bbccd944da7 btrfs: rename enospc label to out at balance_level()
232409476b23 btrfs: do not BUG_ON() on tree mod log failure at balance_level()
ada8be3eccc3 btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
9d3c334a89e0 btrfs: avoid tree mod log ENOMEM failures when we don't need to log
42e669e0559b btrfs: fix extent buffer leak after tree mod log failure at split_node()
c7fbbcc29875 btrfs: add missing error handling when logging operation while COWing extent buffer
92cd7a31d7ed btrfs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method
53a66e54b53e btrfs: scrub: also report errors hit during the initial read
4480d0510b56 btrfs: scrub: respect the read-only flag during repair
d625e6d77123 btrfs: properly enable async discard when switching from RO->RW
f3e295ac8d50 btrfs: update documentation for a block group's bg_list member
ad4efba57fe2 btrfs: reinsert BGs failed to reclaim
317fac83d509 btrfs: bail out reclaim process if filesystem is read-only
378345d39406 btrfs: move out now unused BG from the reclaim list
552204f0ab5e btrfs: delete unused BGs while reclaiming BGs
18a81cb64037 btrfs: use btrfs_finish_ordered_extent to complete buffered writes
01bd885de47b btrfs: use btrfs_finish_ordered_extent to complete direct writes
3a3d9526afe0 btrfs: use btrfs_finish_ordered_extent to complete compressed writes
df967e097997 btrfs: open code end_extent_writepage in end_bio_extent_writepage
cc64c524051c btrfs: add a btrfs_finish_ordered_extent helper
918fb2754293 btrfs: factor out a btrfs_queue_ordered_fn helper
e6cc59be70bb btrfs: factor out a can_finish_ordered_extent helper
ce9ee7e37eda btrfs: use bbio->ordered in btrfs_csum_one_bio
c03458a69df6 btrfs: add an ordered_extent pointer to struct btrfs_bio
aac661fd2545 btrfs: open code btrfs_bio_end_io in btrfs_dio_submit_io
c593135ca8d2 btrfs: add a is_data_bbio helper
728a018385de btrfs: remove btrfs_add_ordered_extent
9bf02662cb2a btrfs: pass an ordered_extent to btrfs_submit_compressed_write
4223f0a706da btrfs: pass an ordered_extent to btrfs_reloc_clone_csums
a5d18971c918 btrfs: merge the two calls to btrfs_add_ordered_extent in run_delalloc_nocow
4e7ec61f96b6 btrfs: limit write bios to a single ordered extent
0ea0b86c8244 btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that get split
66e3cd559984 btrfs: add block-group tree to lockdep classes
f6aee45234c3 btrfs: don't treat zoned writeback as being from an async helper thread
5ea71fbc723b btrfs: only call __extent_writepage_io from extent_write_locked_range
e81ba134883a btrfs: move writeback_control::nr_to_write update to __extent_writepage
f8268d65edd2 btrfs: remove non-standard extent handling in __extent_writepage_io
6e4c5e5c5c4b btrfs: remove PAGE_SET_ERROR
a51261085173 btrfs: stop setting PageError in the data I/O path
454f737671a3 btrfs: don't check PageError in __extent_writepage
f79fd1ffc4e6 btrfs: rename cow_file_range_async to run_delalloc_compressed
cb0e808bca8c btrfs: don't fail writeback when allocating the compression context fails
52e019e68970 btrfs: don't check PageError in btrfs_verify_page
509a39ba803a btrfs: fix fsverify read error handling in end_page_read
106b5c969654 btrfs: factor out a btrfs_verify_page helper
24ac0bb22fd6 btrfs: fix range_end calculation in extent_write_locked_range
8e6a958e6cef btrfs: subpage: fix a crash in metadata repair path
886740a6948a btrfs: make btrfs_destroy_delayed_refs() return void
ec89ef7fc1f5 btrfs: insert tree mod log move in push_node_left
64b6f1f1935b btrfs: warn on invalid slot in tree mod log rewind
839640b88e56 btrfs: disable allocation warnings for compression workspaces
cde4ff5e5d3f btrfs: open code need_full_stripe conditions
44cb5df49968 btrfs: open code btrfs_map_sblock
7294f2ae9667 btrfs: rename __btrfs_map_block to btrfs_map_block
86f083c4da81 btrfs: remove unused btrfs_map_block
c14457d6b2bd btrfs: optimize simple reads in btrfsic_map_block
4e637ac0aab2 btrfs: remove unused BTRFS_MAP_DISCARD
973dc9ad2d3a btrfs: add xxhash to fast checksum implementations
02921c8a3c0b btrfs: pass the new logical address to split_extent_map
fc94d599b424 btrfs: defer splitting of ordered extents until I/O completion
83a4de85d195 btrfs: handle completed ordered extents in btrfs_split_ordered_extent
44e91bf9b2e3 btrfs: atomically insert the new extent in btrfs_split_ordered_extent
2a46a3838a26 btrfs: split btrfs_alloc_ordered_extent to allocation and insertion helpers
937269209d90 btrfs: return the new ordered_extent from btrfs_split_ordered_extent
945570f60500 btrfs: reorder conditions in btrfs_extract_ordered_extent
85efeb3d54e0 btrfs: move split_extent_map to extent_map.c
579ddf0b92d6 btrfs: optimize the logical to physical mapping for zoned writes
def455d72efa btrfs: rename the bytenr field in struct btrfs_ordered_sum to logical
dcb722aff5ca btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
90b1afb7f3e2 btrfs: don't call btrfs_record_physical_zoned for failed append
ffd2d115ec2e btrfs: optimize out btrfs_is_zoned for !CONFIG_BLK_DEV_ZONED
dfec3d2c53b6 btrfs: remove unnecessary prototype declarations at disk-io.c
e475c5e59b89 btrfs: use a single switch statement when initializing delayed ref head
6f1e12183bf6 btrfs: use bool type for delayed ref head fields that are used as booleans
940d0c52cca8 btrfs: assert correct lock is held at btrfs_select_ref_head()
c8b59831823c btrfs: get rid of label and goto at insert_delayed_ref()
f3181d7ec93f btrfs: make insert_delayed_ref() return a bool instead of an int
49c3fe3e432e btrfs: use a bool to track qgroup record insertion when adding ref head
18fe01f3dcba btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_node
0c6fb5fd8160 btrfs: remove unused is_head field from struct btrfs_delayed_ref_node
39cf25f406bf btrfs: reorder some members of struct btrfs_delayed_ref_head
ba259220e270 btrfs: use the same uptodate variable for end_bio_extent_readpage()
235e10ae9431 btrfs: subpage: make alloc_extent_buffer() handle previously uptodate range efficiently
7e786ec9bdaa btrfs: print assertion failure report and stack trace from the same line
710231c58a69 Merge branch 'misc-6.4' into next-fixes
79b8ee702c91 btrfs: scrub: also report errors hit during the initial read
1f2030ff6e49 btrfs: scrub: respect the read-only flag during repair
981a37bab5e5 btrfs: properly enable async discard when switching from RO->RW
917ac77846b9 btrfs: subpage: fix a crash in metadata repair path
1d3777ef388a btrfs: subpage: dump extra subpage bitmaps for debug
d840d1c70b92 btrfs: use alloc_ordered_workqueue() to create ordered workqueues
e76bd1be8173 btrfs: drop gfp from parameter extent state helpers
9bac80444ee4 btrfs: pass NOWAIT for set/clear extent bits as another bit
6c339e6283d9 btrfs: drop NOFAIL from set_extent_bit allocation masks
dea28fdc06f1 btrfs: open code set_extent_bits
315f3472c81b btrfs: open code set_extent_bits_nowait
11c8a1632a70 btrfs: open code set_extent_dirty
d49e2ff0b4cc btrfs: open code set_extent_new
5082df81d24b btrfs: open code set_extent_delalloc
b22080e654e1 btrfs: open code set_extent_defrag
65f972a2ac2d btrfs: remove a pointless NULL check in btrfs_lookup_fs_root
5f1b57c958df btrfs: convert btrfs_get_global_root to use a switch statement
b8a31bf53a15 btrfs: fix the btrfs_get_global_root return value
155f1f95f9c7 btrfs: add and fix comments in btrfs_fs_devices
9a31567e2538 btrfs: consolidate uuid comparisons in btrfs_validate_super
67bd3d1afbd3 btrfs: simplify how changed fsid and metadata_uuid is checked
b2de358158e4 btrfs: simplify fsid and metadata_uuid comparisons
6fc73b2ac7ed btrfs: return bool from check_tree_block_fsid instead of int
f65dd1a2a852 btrfs: add comment about metadata_uuid in btrfs_fs_devices
62797dcc0d23 btrfs: merge calls to alloc_fs_devices in device_list_add
1ae2bdd1406c btrfs: streamline fsid checks in alloc_fs_devices
9176965a7883 btrfs: reduce struct btrfs_fs_devices size by moving fsid_change
b9153f259b08 btrfs: merge write_one_subpage_eb into write_one_eb
d8284cfdcc99 btrfs: use per-buffer locking for extent_buffer reading
a02b96b431dc btrfs: stop using lock_extent in btrfs_buffer_uptodate
239c0f7577ba btrfs: don't check for uptodate pages in read_extent_buffer_pages
be02ebf2eddd btrfs: stop using PageError for extent_buffers
8f8437848438 btrfs: remove the io_pages field in struct extent_buffer
8189405341d3 btrfs: remove the extent_buffer lookup in btree block checksumming
8f260595d6a9 btrfs: use a separate end_io handler for extent_buffer writing
b2f62dc58640 btrfs: don't use btrfs_bio_ctrl for extent buffer writing
159646c7b954 btrfs: move page locking from lock_extent_buffer_for_io to write_one_eb
a91d59a00083 btrfs: submit a writeback bio per extent_buffer
ebc0b4423982 btrfs: return bool from lock_extent_buffer_for_io
9f1df65f852b btrfs: do not try to unlock the extent for non-subpage metadata reads
aa0a7be09812 btrfs: use a separate end_io handler for read_extent_buffer
f9e3444bcd89 btrfs: remove the mirror_num argument to btrfs_submit_compressed_read
4c5deb3e70af btrfs: don't use btrfs_bio_ctrl for extent buffer reading
5e2fecf185f5 btrfs: always read the entire extent_buffer
da9fcaa09151 btrfs: merge verify_parent_transid and btrfs_buffer_uptodate
56a4bc6c8a45 btrfs: move setting the buffer uptodate out of validate_extent_buffer
8a21652dcc21 btrfs: subpage: fix error handling in end_bio_subpage_eb_writepage
fdb275700601 btrfs: mark extent_buffer_under_io static
d121bc296537 btrfs: trigger orphan inode cleanup during START_SYNC ioctl
d258770de27a btrfs: fix comment referring to no longer existing btrfs_clean_tree_block()
69d311b32a16 btrfs: change for_rename argument of btrfs_record_unlink_dir() to bool
525914aa028f btrfs: remove pointless label and goto at btrfs_record_unlink_dir()
11a1e1cd8007 btrfs: update comments at btrfs_record_unlink_dir() to be more clear
5748f251c36a btrfs: use inode_logged() at btrfs_record_unlink_dir()
beea0d8f24db btrfs: use inode_logged() at need_log_inode()
648d655e5361 btrfs: scrub: remove more unused functions
1f50002878e7 btrfs: handle tree backref walk error properly
4b0357eea14c btrfs: don't hold an extra reference for redirtied buffers
2658381b7125 btrfs: fix dirty_metadata_bytes for redirtied buffers
65a640dd4648 btrfs: unexport btrfs_run_discard_work and make it static
cc578b6ccc70 btrfs: rename del_ptr to btrfs_del_ptr and export it
17d1a480e5fe btrfs: add a btrfs_csum_type_size helper
1fd7aa096576 btrfs: add __KERNEL__ check for btrfs_no_printk
3bdb3522d541 btrfs: move split_flags/combine_flags helpers to inode-item.h
588f2afd01fb btrfs: move btrfs_verify_level_key into tree-checker.c
2579e7541516 btrfs: add __btrfs_check_node helper
7a714140f414 btrfs: extend btrfs_leaf_check to return btrfs_tree_block_status
a923ba1bc1d9 btrfs: use btrfs_tree_block_status for leaf item errors
145992903a5a btrfs: add btrfs_tree_block_status definitions to tree-checker.h
54fec75be9cc btrfs: simplify btrfs_check_leaf_* helpers into a single helper
fd9bc7bd03a1 btrfs: remove level argument from btrfs_set_block_flags
53a91f84d0cc btrfs: move btrfs_check_trunc_cache_free_space into block-rsv.c
ed3c19be5fa5 btrfs: scrub: use recovered data stripes as cache to avoid unnecessary read
be3cad4d1a2a btrfs: assert tree lock is held when removing free space entries
08100f523f95 btrfs: assert tree lock is held when linking free space
50383ded75f6 btrfs: assert tree lock is held when searching for free space entries
314186e425a5 btrfs: assert proper locks are held at tree_insert_offset()
de1852b25b94 btrfs: simplify arguments to tree_insert_offset()
74fab43effb9 btrfs: use precomputed end offsets at do_trimming()
72a1106d6748 btrfs: avoid searching twice for previous node when merging free space entries
c7deb5a2203e btrfs: avoid extra memory allocation when copying free space cache
89fdeb24f910 btrfs: simplify transid initialization in btrfs_ioctl_wait_sync
1d477b52a1e1 btrfs: output affected files when relocation fails
d6d3f839046a btrfs: remove hipri_workers workqueue
e59b06b7e6cc btrfs: determine synchronous writers from bio or writeback control
49e706ddd85d btrfs: submit IO synchronously for fast checksum implementations
812098c80b19 btrfs: use SECTOR_SHIFT to convert LBA to physical offset
1ae9f07a5bd1 btrfs: use SECTOR_SHIFT to convert physical offset to LBA
e2f153056fe5 btrfs: improve leaf dump and error handling
342a09e343a1 btrfs: print-tree: pass const extent buffer pointer
69efb33b95e0 btrfs: export bitmap_test_range_all_{set,zero}
bbb3d39ec66e btrfs: tag as unlikely the key comparison when checking sibling keys
c08f047f01b1 btrfs: make btrfs_free_device() static
05fb6bce8224 btrfs: don't commit transaction for every subvol create
6c9ba2bb910c btrfs: unexport btrfs_prev_leaf()