diff options
author | Christoph Hellwig <[email protected]> | 2023-05-03 17:24:40 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-06-19 13:59:28 +0200 |
commit | d7172f52e9933b6ec9305e7fe6e829e3939dba04 (patch) | |
tree | 62101cc94eccc2825aa1c6ac82c6a5340e65dfa4 /fs/btrfs/tree-log.c | |
parent | 9e2aff90fc2ad2b94933762f5442fef9ee7a692e (diff) |
btrfs: use per-buffer locking for extent_buffer reading
Instead of locking and unlocking every page or the extent, just add a
new EXTENT_BUFFER_READING bit that mirrors EXTENT_BUFFER_WRITEBACK
for synchronizing threads trying to read an extent_buffer and to wait
for I/O completion.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions