[linux-cifs-client] Error while copying data from CIFS share

Marko Käning mk362 at mch.osram.de
Mon Aug 11 17:23:33 GMT 2008


> I have seen cases where during file copy, cifs encounters EAGAIN and
> drops those pages and so we have 0 filled holes on the destination files i.e.
> data is now different than the source file.
> cifs needs to handle this error (EAGAINs returned by kernel_sendmsg
> in smb_send2).
> Do you see the same problem i.e. 0 filled pages?
> Not sure whether you can run xxd command on this file and see
> whether there are 0 filled pages.

No, I never saw 0-filled pages. This was up to now the one and only time 
that my verify procedure revealed differences between the original and 
transferred files. And as stated: the file was simply shorter to than it's 
original.

Hope we can figure out what might have happened.


More information about the linux-cifs-client mailing list