]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add fast path for extent_state insertion
authorDavid Sterba <dsterba@suse.com>
Thu, 25 Jun 2020 16:11:31 +0000 (18:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:35 +0000 (17:45 +0200)
commit917010134f9b54e4a6fafadcf4e6f393acec34ea
treea1a7f1d81447cb8f343eaa35859e72f8eb5d5e32
parentc8e57440cc4e44d446ee9376a6d5d8523b72126e
btrfs: add fast path for extent_state insertion

In two cases the exact location where to insert the extent state is
known at the call time so we don't need to pass it to insert_state that
takes the fast path.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c