Re: Updated Forced unmount
Daniel Phillips <[email protected]> Mon, 1 Nov 2004 16:35:39 -0500
| Newsgroups | gmane.linux.kernel.carrier-grade,gmane.spam.detected |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
On Monday 01 November 2004 13:14, Steven Dake wrote: > On Sun, 2004-10-31 at 23:16, Daniel Phillips wrote: > > This is a really bad idea: > > > > + /* wait a bit, in hopes that the processes will take > > + * their errors, close out their files (and hope > > ... > > + schedule_timeout(5*HZ); > > I've always thought the 5 second timeout is suboptimal but currently > necessary. The reason is because of the locking mechanism of the > file system. The filesystem uses lockless reference counting where > the reference count only increases to 1. This makes "knowing" when > we can blow away the filesystem difficult.. Are you talking about fget_light? If so, why not back it out until everything else works? Regards, Daniel