Re: [PATCH v2 6/7] md/raid1: Handle bio_split() errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/10/2024 11:30, Yu Kuai wrote:

Or is it guaranteed that IO error by atomic write won't hurt anyone,
user will handle this error and retry with non atomic write?

Yes, I think that the user could retry non-atomically for the same write. Maybe returning a special error code could be useful for this.

And can you update the above error path comment when you support raid1
and raid10?

Sure, can do. I am not sure on a special error code value. I will think about it.

And I will send update for https://lore.kernel.org/linux-raid/20240903150748.2179966-1-john.g.garry@xxxxxxxxxx/T/#m5daa8d32d825d74422bbff272c9b25b6c4fc2788 soon with this suggestion.

Thanks,
John




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux