]> www.infradead.org Git - nvme.git/commit
btrfs: add comment about locking to btrfs_split_ordered_extent()
authorFilipe Manana <fdmanana@suse.com>
Mon, 3 Jun 2024 15:50:31 +0000 (16:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:23 +0000 (15:33 +0200)
commitc18ca3c960171e0fb22e498dbf233e0cc521a31c
treeb616b1a8d9f46e8c44fb90684473cd2e62ff8d94
parentac1f580c10f31063ce9dae840d3499d41e3854ce
btrfs: add comment about locking to btrfs_split_ordered_extent()

There are subtle details about why the root's ordered_extent_lock is held,
so add a comment mentioning them.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ordered-data.c