Re: [PATCH v4 3/7] md/raid10: consistently fail atomic writes that require splitting

John Garry <[email protected]>
Newsgroups gmane.linux.raid,gmane.linux.kernel
Organization Oracle Corporation
Message-ID <[email protected]>
On 10/07/2026 11:15, Abd-Alrhman Masalkhi wrote:
> 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(),

What is this other badblock path which you are referring to?

> 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<[email protected]>
> ---
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.