diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-08-03 09:52:22 -0700 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-08-04 00:18:37 +0000 |
| commit | 3de6b80941152a384ee1b9cf88ac1c9dd4eec6dd (patch) | |
| tree | af6debcaf8cd1560ab03fac6c176c03cb8960f73 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6dc2b804a042d2ff0fdf4c8e3db78669c36b688d (diff) | |
f2fs: Run f2fs_write_end_io() asynchronously
The bio_for_each_segment_all() loop can take more than 10 ms for a large
bio on an ARM little core. This is too much for interrupt context. Hence
perform the write bio completion work asynchronously if a bio is large and
if f2fs_write_end_io() is called from atomic context. This patch reduces
the time spent in f2fs_write_end_io() from about 10 ms to about 150
microseconds on an Arm Cortex-A520 core if the max_atc_write_bio_size
parameter is changed to 16384.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
