From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <008801c26a15$c3e1d550$db28ff87@bl.belllabs.com> From: "david presotto" To: <9fans@cse.psu.edu> References: <9acf0838ced8becdebed4425da4af41f@plan9.bell-labs.com> Subject: Re: [9fans] lnfs MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Wed, 2 Oct 2002 09:15:21 -0400 Topicbox-Message-UUID: fafe9372-eaca-11e9-9e20-41e7f4b1d025 It should, that was what I was implying. ----- Original Message ----- From: "Russ Cox" To: <9fans@cse.psu.edu> Sent: Wednesday, October 02, 2002 1:08 AM Subject: Re: [9fans] lnfs > > > However, in rreaddir, I don't reread the file while > > > translating the short names to long ones. Someone > > > could create a file while I'm busy converting the > > > dir. There's plenty of window there for someone to > > > sneak through. > > > > I think this is the problem. I had a process running on the > > cpu server which walked the tree finding things to do, and > > another process on my terminal which added things to the > > tree. Perhaps I won't use lnfs after all... > > Just put a readnames() call right after the dirreadall() call. > The race goes away, no? > > Russ > >