I am wondering what exactly will happen if a delayed write goes wrong. It
seems to me that the kernel will just clear the error flag and mark the
buffer as delayed write again.  This gives the buffer a second chance.  
But how many chances at most a buffer can get before it is aborted.

While this may seem not serious on a local filesystem. Consider the NFS
case, if a delayed write to a NFS server fails, how many times will we
retry? My understanding is that the user program will not notice these
retries or aborts until it closes the file.  Am I right?  Please clarify
this for me.

Before 4.0, if we write something to a write-protected floppy, the system
will panic. Obviously, this panic does not happen on 4.0+. So I guess that
the retries must have a limit.

Any help is appreciated.

-Zhihui



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to