aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2023-02-13 05:10:38 +0000
committerDavid Sterba <[email protected]>2023-03-06 18:28:19 +0000
commit98e8d36a26c2ed22f78316df7d4bf33e554b9f9f (patch)
tree719c708d1b4cb4da0e1f71655fb2d007308f51c7 /tools/perf/scripts/python/compaction-times.py
parentbtrfs: handle btrfs_del_item errors in __btrfs_update_delayed_inode (diff)
downloadkernel-98e8d36a26c2ed22f78316df7d4bf33e554b9f9f.tar.gz
kernel-98e8d36a26c2ed22f78316df7d4bf33e554b9f9f.zip
btrfs: fix unnecessary increment of read error stat on write error
Current btrfs_log_dev_io_error() increases the read error count even if the erroneous IO is a WRITE request. This is because it forget to use "else if", and all the error WRITE requests counts as READ error as there is (of course) no REQ_RAHEAD bit set. Fixes: c3a62baf21ad ("btrfs: use chained bios when cloning") CC: [email protected] # 6.1+ Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions