Subject: Re: Question: various bugs in sync()?
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Todd Vierling <tv@pobox.com>
List: tech-kern
Date: 01/15/1999 15:03:19
On Fri, 15 Jan 1999, Jonathan Stone wrote:

: Hm. i just tried a "sync" on a large Solaris 2.6 box, and it took
: several seconds before the shell prompt came back....

Yes, Solaris 2.6 documents the behavior we have:

     The writing, although scheduled,  is  not  necessarily  com-
     pleted  before sync() returns.  The fsync function completes
     the writing before it returns.

Not that I'm advocating keeping it that way in all cases, but just as a POI.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)