aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2024-10-31 11:31:11 +0800
committerSong Liu <[email protected]>2024-11-05 16:08:39 -0800
commit88ed59c4cc6c2dbdf03345bce54e0d7a272937bc (patch)
tree9fc9476ee8d2b321d926ae621d7b138849eca319 /tools/perf/scripts/python/export-to-sqlite.py
parent29967332ced51a15a22f11381eeebbc500ba1858 (diff)
md/raid1: factor out helper to handle blocked rdev from raid1_write_request()
Currently raid1 is preparing IO for underlying disks while checking if any disk is blocked, if so allocated resources must be released, then waiting for rdev to be unblocked and try to prepare IO again. Make code cleaner by checking blocked rdev first, it doesn't matter if rdev is blocked while issuing IO, the IO will wait for rdev to be unblocked or not. Signed-off-by: Yu Kuai <[email protected]> Tested-by: Mariusz Tkaczyk <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions