Thread (12 messages) 12 messages, 3 authors, 2020-05-19

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

From: antlists <hidden>
Date: 2020-05-19 10:14:56

On 18/05/2020 22:37, Guoqing Jiang wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help