diff options
author | Zheng Qixing <zhengqixing@huawei.com> | 2025-07-02 18:23:41 +0800 |
---|---|---|
committer | Yu Kuai <yukuai3@huawei.com> | 2025-07-05 19:33:46 +0800 |
commit | 5fa31c49928139fa948f078b094d80f12ed83f5f (patch) | |
tree | 32cebe20ebef6a0ef85f6636c966d3b2a308ee36 /net/unix/af_unix.c | |
parent | 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24 (diff) |
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 <zhengqixing@huawei.com>
Link: https://lore.kernel.org/linux-raid/20250702102341.1969154-1-zhengqixing@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions