[cgl_discussion] Updated Forced unmount
phillips at redhat.com
Mon Nov 1 13:35:39 PST 2004
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?
More information about the cgl_discussion