579c8e8bbf49 Merge branch 'for-next-next-v6.4-20230608' into for-next-20230608
20060639b65b Merge branch 'for-next-current-v6.3-20230608' into for-next-20230608
f8bb6b0610f6 Merge branch 'ext/filipe/tree-mod-log-fixes' into for-next-next-v6.4-20230608
db158d4096e1 Merge branch 'misc-next' into for-next-next-v6.4-20230608
5a8084e6b7cb Merge branch 'next-fixes' into for-next-next-v6.4-20230608
1a6985bae3c1 Merge branch 'misc-6.4' into for-next-current-v6.3-20230608
aba9ddad3d7e btrfs: do not BUG_ON() on tree mod log failures at btrfs_del_ptr()
fe391682c305 btrfs: do not BUG_ON() on tree mod log failures at insert_ptr()
681c6737f3ed btrfs: do not BUG_ON() on tree mod log failure at insert_new_root()
d106a410a850 btrfs: do not BUG_ON() on tree mod log failures at push_nodes_for_insert()
5e962114e2f5 btrfs: abort transaction at update_ref_for_cow() when ref count is zero
cde22da786ec btrfs: abort transaction at balance_level() when left child is missing
ef2e2ae813cd btrfs: avoid unnecessarily setting the fs to RO and error state at balance_level()
13fb1ece32d6 btrfs: rename enospc label to out at balance_level()
cdfb2556269c btrfs: do not BUG_ON() on tree mod log failure at balance_level()
e97ecbdf56ac btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
2062c8fe6ef6 btrfs: avoid tree mod log ENOMEM failures when we don't need to log
a709ce5b37bc btrfs: fix extent buffer leak after tree mod log failure at split_node()
a9541d6fa2dc btrfs: add missing error handling when logging operation while COWing extent buffer
ec7eacf6c19b btrfs: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method
301f60ff574f btrfs: scrub: also report errors hit during the initial read
c4137f3227a6 btrfs: scrub: respect the read-only flag during repair
eb0527af2c35 btrfs: properly enable async discard when switching from RO->RW
038575d18342 btrfs: update documentation for a block group's bg_list member
94a9a0e3e6c1 btrfs: reinsert BGs failed to reclaim
3a7a9dfd2dd0 btrfs: bail out reclaim process if filesystem is read-only
611405cce59a btrfs: move out now unused BG from the reclaim list
f000623e852c btrfs: delete unused BGs while reclaiming BGs
cbb0571e2326 btrfs: use btrfs_finish_ordered_extent to complete buffered writes
26b7db40106b btrfs: use btrfs_finish_ordered_extent to complete direct writes
132de38b52f7 btrfs: use btrfs_finish_ordered_extent to complete compressed writes
45bdb1f1ee87 btrfs: open code end_extent_writepage in end_bio_extent_writepage
b5fa35bf1752 btrfs: add a btrfs_finish_ordered_extent helper
429b0c2d9f93 btrfs: factor out a btrfs_queue_ordered_fn helper
4f7034c1ce24 btrfs: factor out a can_finish_ordered_extent helper
a16c719accf5 btrfs: use bbio->ordered in btrfs_csum_one_bio
302f72b0b639 btrfs: add an ordered_extent pointer to struct btrfs_bio
8b9044054a17 btrfs: open code btrfs_bio_end_io in btrfs_dio_submit_io
82802666bbdb btrfs: add a is_data_bbio helper
37fc2877fba3 btrfs: remove btrfs_add_ordered_extent
cacd754159ad btrfs: pass an ordered_extent to btrfs_submit_compressed_write
f28d29248b09 btrfs: pass an ordered_extent to btrfs_reloc_clone_csums
00cc41e27f31 btrfs: merge the two calls to btrfs_add_ordered_extent in run_delalloc_nocow
b0aca10e6668 btrfs: limit write bios to a single ordered extent
7cd674f1b1dd btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that get split
4909b13fd9ee btrfs: add block-group tree to lockdep classes
8a5b171ebdfe btrfs: don't treat zoned writeback as being from an async helper thread
02286513dd22 btrfs: only call __extent_writepage_io from extent_write_locked_range
76243c2cbdaa btrfs: move writeback_control::nr_to_write update to __extent_writepage
1405f4748702 btrfs: remove non-standard extent handling in __extent_writepage_io
925b8f3b94a4 btrfs: remove PAGE_SET_ERROR
5c7c626f5708 btrfs: stop setting PageError in the data I/O path
670358e4e1cf btrfs: don't check PageError in __extent_writepage
08bd1c564a45 btrfs: rename cow_file_range_async to run_delalloc_compressed
c248751af56d btrfs: don't fail writeback when allocating the compression context fails
0be301afd49b btrfs: don't check PageError in btrfs_verify_page
87111e04e85e btrfs: fix fsverify read error handling in end_page_read
64dca4bd823e btrfs: factor out a btrfs_verify_page helper
321958b6af5c btrfs: fix range_end calculation in extent_write_locked_range
1858bf0d9a45 btrfs: subpage: fix a crash in metadata repair path
c5e7b04f8264 btrfs: make btrfs_destroy_delayed_refs() return void
30de76de593c btrfs: insert tree mod log move in push_node_left
9f29b9126d90 btrfs: warn on invalid slot in tree mod log rewind
b96655eed3f1 btrfs: disable allocation warnings for compression workspaces
9191a415040a btrfs: open code need_full_stripe conditions
bc466ab7013d btrfs: open code btrfs_map_sblock
b013047f2ed1 btrfs: rename __btrfs_map_block to btrfs_map_block
bb1471ef39a3 btrfs: remove unused btrfs_map_block
3f287c337cc3 btrfs: optimize simple reads in btrfsic_map_block
ffe0764f480b btrfs: remove unused BTRFS_MAP_DISCARD
b6f3df2bae58 btrfs: add xxhash to fast checksum implementations
0caa0e5a4ac7 btrfs: pass the new logical address to split_extent_map
e66d68b3b684 btrfs: defer splitting of ordered extents until I/O completion
4fc8638f8b6f btrfs: handle completed ordered extents in btrfs_split_ordered_extent
9ea111e85b66 btrfs: atomically insert the new extent in btrfs_split_ordered_extent
330abd244cdd btrfs: split btrfs_alloc_ordered_extent to allocation and insertion helpers
98567662ba5b btrfs: return the new ordered_extent from btrfs_split_ordered_extent
d4c1d0aa174f btrfs: reorder conditions in btrfs_extract_ordered_extent
59440806c0af btrfs: move split_extent_map to extent_map.c
6673d7dbf391 btrfs: optimize the logical to physical mapping for zoned writes
d468e9610ef7 btrfs: rename the bytenr field in struct btrfs_ordered_sum to logical
e1cade8c567c btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
89a36a1cc146 btrfs: don't call btrfs_record_physical_zoned for failed append
f6a4c1d729d3 btrfs: optimize out btrfs_is_zoned for !CONFIG_BLK_DEV_ZONED
38b5eae66ce8 btrfs: remove unnecessary prototype declarations at disk-io.c
7e06c9f7cb4e btrfs: use a single switch statement when initializing delayed ref head
a73016e2bcc8 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()