]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: unlock all the pages with successful inline extent creation
authorJosef Bacik <josef@toxicpanda.com>
Wed, 20 Mar 2024 21:06:10 +0000 (17:06 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:09 +0000 (21:31 +0200)
commit0332967b4d657754c914b2a1951ae2d4ed3d99bd
tree0777326e69ec9bb5cb5903e25ffcd16f863f5994
parent6eecfa22403e2c322a91f7654ade7f126adc55c2
btrfs: unlock all the pages with successful inline extent creation

Since 4750af3bbe5d ("btrfs: prevent extent_clear_unlock_delalloc() to
unlock page not locked by __process_pages_contig()") we have been
unlocking the locked page manually instead of via
extent_clear_unlock_delalloc() because of subpage blocksize support.
However we actually disable inline extent creation for subpage blocksize
support, so this behavior isn't necessary.  Remove this code and
comment, if at some point the subpage blocksize code grows support for
inline extents this can be re-evaluated.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c