diff options
| author | Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com> | 2026-07-10 10:15:17 +0000 |
|---|---|---|
| committer | Yu Kuai <yukuai@fygo.io> | 2026-07-30 23:32:44 +0800 |
| commit | 3409bf2f9678d769a4c33bd232a3571c51fac481 (patch) | |
| tree | a7073b304dfbeb7a9ad25c45947ed8ddb522cf7a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 86d801e895b853667a886918998e1628fcc3174e (diff) | |
md/raid10: consistently fail atomic writes that require splitting
RAID10 currently handles one badblock path explicitly by failing atomic
writes with EIO. However, another badblock path can also reduce the
writable range and force the bio through bio_submit_split_bioset(),
which implicitly completes the bio with EINVAL.
Fix this by handling atomic writes in the common split check. If RAID10
determines that an atomic write would require splitting, complete the
bio with EIO.
Fixes: a1d9b4fd42d9 ("md/raid10: Atomic write support")
Signed-off-by: Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com>
Reviewed-by: Yu Kuai <yukuai@fygo.io>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260710101521.1714-4-abd.masalkhi@gmail.com
Signed-off-by: Yu Kuai <yukuai@fygo.io>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
