aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorZheng Qixing <[email protected]>2025-07-02 10:23:41 +0000
committerYu Kuai <[email protected]>2025-07-05 11:33:46 +0000
commit5fa31c49928139fa948f078b094d80f12ed83f5f (patch)
tree32cebe20ebef6a0ef85f6636c966d3b2a308ee36 /rust/helpers/helpers.c
parentraid10: cleanup memleak at raid10_make_request (diff)
downloadkernel-5fa31c49928139fa948f078b094d80f12ed83f5f.tar.gz
kernel-5fa31c49928139fa948f078b094d80f12ed83f5f.zip
md/raid1,raid10: strip REQ_NOWAIT from member bios
RAID layers don't implement proper non-blocking semantics for REQ_NOWAIT, making the flag potentially misleading when propagated to member disks. This patch clear REQ_NOWAIT from cloned bios in raid1/raid10. Retain original bio's REQ_NOWAIT flag for upper layer error handling. Maybe we can implement non-blocking I/O handling mechanisms within RAID in future work. Fixes: 9f346f7d4ea7 ("md/raid1,raid10: don't handle IO error for REQ_RAHEAD and REQ_NOWAIT") Signed-off-by: Zheng Qixing <[email protected]> Link: https://lore.kernel.org/linux-raid/[email protected] Signed-off-by: Yu Kuai <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions