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 Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux