Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 20:35:14 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   delayed write question
Message-ID:  <Pine.SOL.4.21.0008242027020.18556-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0008242027020.18556-100000>