[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [patch] fix the ext3 data=journal unmount bug



Hi,

On Fri, 2002-12-06 at 19:45, Andrew Morton wrote:

> > I see what ext3 gains from your current patch in the unmount case, but
> > the sync case is really unchanged because of interaction with kupdate.
> 
> True.  And I'd like /bin/sync to _really_ be synchronous because
> I use `reboot -f' all the time.  Even though SuS-or-POSIX say that
> sync() only needs to _start_ the IO.  That's rather silly.

But at the same time I'd like to avoid sync becoming serialised on its
writes.  If you've got a lot of filesystems mounted, doing each
filesystem's sync sequentially and synchronously is going to be a lot
slower than allowing async syncs.  In other words, for sync(2) we really
want async commit submission followed by a synchronous wait for
completion.  And that's probably more churn than I'd like to see at this
stage for 2.4.

Cheers, 
 Stephen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]