diff options
author | Josef Bacik <[email protected]> | 2024-08-19 14:15:52 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-09-10 16:51:20 +0200 |
commit | 7e2a59508472edae5557ff67c2f61f911148be2d (patch) | |
tree | 832161b3e51c1fe64ad3edb1c611dbf0183fcb86 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | df2825e98507d10cb037a308087ecd7cb3f6688d (diff) |
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]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions