]> 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)
commitfed1bb0428062c83159d3f1643aeeea2a3e61f3b
treea1a7f1d81447cb8f343eaa35859e72f8eb5d5e32
parentd79ee1d3e354cf4c7d8caa2f7d8bdb3df787d737
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