diff options
author | Mark Harmstone <maharmstone@fb.com> | 2024-10-22 17:50:17 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-11-11 16:34:21 +0300 |
commit | 26efd44796c6dd7a64f039a0dda6d558eac97a3e (patch) | |
tree | 12b0028c44bcd2fcaeeff96eb9ae4753aa45ecf4 /tools/perf/scripts/python/task-analyzer.py | |
parent | 4bca7412b8325508b47768678acf6249ad179763 (diff) | |
download | linux-26efd44796c6dd7a64f039a0dda6d558eac97a3e.tar.xz |
btrfs: change btrfs_encoded_read() so that reading of extent is done by caller
Change the behaviour of btrfs_encoded_read() so that if it needs to read
an extent from disk, it leaves the extent and inode locked and returns
-EIOCBQUEUED. The caller is then responsible for doing the I/O via
btrfs_encoded_read_regular() and unlocking the extent and inode.
Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions