Re: [PATCH 2/2] restripe: fix ignoring return value of ‘read’

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

 



On 18/05/2020 22:37, Guoqing Jiang wrote:
That should work, however you really should check the return value of
lseek as well, while looking at this.

Okay, though I did not get complain about it =-O. Anyway, will send v3.

Just for info - I'm currently building my new system, which means my old system will become a raid testbed. And I'm playing with dm-integrity, which I believe returns an integrity error not a read error when things go wrong.

So yes, if errors aren't handled correctly I'm quite likely to find myself falling over them ...

Cheers,
Wol



[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