Question on continuous EIOs in CIFS protocol

sandeep nag sandeepnagamalli at
Thu Sep 18 10:59:53 MDT 2014


We have written a samba server VFS plugin and I am returning an error EIO
from the plugin when there is a interrupt to smbd, while reading the data
from the socket in the plugin, data was sent by the windows client write()

Now my questions is;
On seeing EIO in the response, what does CIFS protocol on window client do?
does it retry to do write operation? if so how many times does it try?
after certain number of times does it stop to try and returns an error
message to the appliciation?

Thanks in advance, if it is not clear, I can send the code snippet.


On Wed, Sep 17, 2014 at 1:58 PM, Jeremy Allison <jra at> wrote:

> On Thu, Sep 18, 2014 at 12:23:23AM +0530, sandeep nag wrote:
> > There is a scenario in the code, when there are continuous interrupts due
> > to networks issues I am returning an EIO. Now I would like to know, what
> > if, there are continuous EIOs from the samba server? What does windows
> > client do when it sees continuous EIOs from server.
> More details please. Not enough info here to help.

More information about the samba-technical mailing list