From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 28 Oct 2010 11:37:11 -0400 From: Nathaniel W Filardo To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20101028153711.GC5777@masters1.cs.jhu.edu> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) Subject: Re: [9fans] A little more ado about async Tclunk Topicbox-Message-UUID: 70709d8e-ead6-11e9-9d60-3106f5b1d025 --5G06lTa6Jq83wMTw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 28, 2010 at 04:56:02PM +0200, Francisco J Ballesteros wrote: > Be there caches of not, I've found that I want to be able to say > "I'm done with this file, let me know if everything is done and ok". You can, just not by using Tclunk. > Of course, if you use 9p with no cache, you know you're done if all writes > worked. Nowhere in the manual does it say that. The only protocol-defined way to be sure that you are coherent is to use Twstat with all arguments NOP. (FWIW, this may also be superior to checking that Tclunk did not Rerror because the fid is still live if Twstat Rerrors.) --nwf; --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzJmKcACgkQTeQabvr9Tc+mTACfWLnJMapVXpLhT/FcDyH0arw7 2OEAn3PKW3qYIHPd1LC0vQ+OLKsDos/X =pb8Y -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw--