]> Git Repo - linux.git/commit
btrfs: introduce EXTENT_DIO_LOCKED
authorJosef Bacik <[email protected]>
Mon, 19 Aug 2024 18:15:52 +0000 (14:15 -0400)
committerDavid Sterba <[email protected]>
Tue, 10 Sep 2024 14:51:20 +0000 (16:51 +0200)
commit7e2a59508472edae5557ff67c2f61f911148be2d
tree832161b3e51c1fe64ad3edb1c611dbf0183fcb86
parentdf2825e98507d10cb037a308087ecd7cb3f6688d
btrfs: introduce EXTENT_DIO_LOCKED

In order to support dropping the extent lock during a read we need a way
to make sure that direct reads and direct writes for overlapping ranges
are protected from each other.  To accomplish this introduce another
lock bit specifically for direct io.  Subsequent patches will utilize
this to protect direct IO operations.

Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/extent-io-tree.c
fs/btrfs/extent-io-tree.h
This page took 0.053234 seconds and 4 git commands to generate.