From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] 9p2k, fsync MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010207191447.24C56199E1@mail.cse.psu.edu> Date: Wed, 7 Feb 2001 14:14:44 -0500 Topicbox-Message-UUID: 5bdcaf00-eac9-11e9-9e20-41e7f4b1d025 On Wed Feb 7 13:43:21 EST 2001, schwartz@bio.cse.psu.edu wrote: > | Fsync etc. is at the wrong level. The issue is not a system-wide > | question, but a file-server question. > > So how does an application with an open fd assure that the write()s it > has issued are really on disk? It's impossible for that program to tell > which file server you're using. In fact, you might be using several, > if they're stacked up. > I think you have to believe that when the fileserver replies to your write that the data is written, just like you do when you say 'fsync'; whether the data is actually on some 'stable storage' is, in both cases, not known.