On Thu, Nov 22, 2012 at 11:00:34AM -0800, John Nemeth wrote: > Would that prevent recovering in the case where the user > disconnects a device (typical example is a thumb drive) and later > reconnects it (once we have the ability to handle this situation)?
It probably depends on how it will be done, but I don't think so. > I > guess that depends whether requests are held at the file system layer > or the device layer? At this point, dropping the blocks should > probably only be done when the error is known to be permanent. the blocks are not dropped. They are flushed to backing store before being deallocated. If we have the ability to disconnect/reconnect removable devices, I would expect requests to the device to hang waiting for the device to be available again, rather than returning an error. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --