diff options
| author | Zhang Yi <[email protected]> | 2022-09-01 21:35:01 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:07 -0700 |
| commit | 59a16786fa7a77dd383a62271e0102f1455bccea (patch) | |
| tree | b45c37b26baef4f82c0510a5109168dbbf683ca8 /tools/perf/scripts/python/flamegraph.py | |
| parent | d554822e82cc99db53b845f3e60dc13e56ad4575 (diff) | |
udf: replace ll_rw_block()
ll_rw_block() is not safe for the sync read path because it cannot
guarantee that submitting read IO if the buffer has been locked. We
could get false positive EIO after wait_on_buffer() if the buffer has
been locked by others. So stop using ll_rw_block(). We also switch to
new bh_readahead_batch() helper for the buffer array readahead path.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zhang Yi <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions