Messages in this thread | | | From | Salah Coronya <> | Subject | Re: NFS hang + umount -f: better behaviour requested. | Date | Tue, 21 Aug 2007 01:51:58 +0000 (UTC) |
| |
Robin Lee Powell <rlpowell <at> digitalkingdom.org> writes:
> > Though I agree that it would be nice if we could convince all > > subsequent requests to a server to fail EIO instead of just the > > currently active ones. I'm not sure that just changing "umount > > -f" is the right interface though.... Maybe if all the server > > handles appeared in sysfs and have an attribute which you could > > set to cause all requests to fail... > > I have no opinion on interface details, I simply know that on > Solaris, "umount -f" Just Works, and I would love to have similar > behaviour on Linux. > > -Robin >
What you are looing is revoke()/frevokeat(); which will yank the file right from under the descriptor. Its currently in -mm. Of course "mount" will still need to iterate over each open file on the mount and revoke it.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |