9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] ORCLOSE
@ 2006-04-03 23:42 erik quanstrom
  2006-04-04  1:08 ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2006-04-03 23:42 UTC (permalink / raw)
  To: 9fans

that's often not a reliable sign.  networks go down.  dhcp and
ppp may reassign addresses.

- erik

> Erik wrote:
> > how would the fs determine that the machine hosting the
> > client is in casters-up mode?
>
> Loss of the TCP or IL connection is the usual sign.
>
> Russ
>



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [9fans] ORCLOSE
@ 2006-04-03 23:10 erik quanstrom
  0 siblings, 0 replies; 5+ messages in thread
From: erik quanstrom @ 2006-04-03 23:10 UTC (permalink / raw)
  To: 9fans

how would the fs determine that the machine hosting the
client is in casters-up mode?

- erik

On Mon Apr  3 10:12:35 CDT 2006, nemo@lsub.org wrote:
> When a ORCLOSE file is created by a process at
> machine A into a FS at machine B, if the machine
> A goes away (e.g., you power it down), the file
> is not removed. This is as it could be expected, because
> ORCLOSE, IFAIK, is processed by the kernel during the cleanup
> done for the process while it exits.
>
> My question is, whouldn't it be better to honor ORCLOSE
> within the file server? (i.e., lib9p and fossil, mostly).
> This is more resilient to failures and disconnections of the
> client kernel. Otherwise, files are kept hanging around.
>
> I was about to change this for Plan B, because we use
> ORCLOSE files to announce our file trees. If this is no ok
> for Plan 9 as well, I'll use something else for our announces.
>
> thanks
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [9fans] ORCLOSE
@ 2006-04-03 15:11 Fco. J. Ballesteros
  2006-04-04  0:40 ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Fco. J. Ballesteros @ 2006-04-03 15:11 UTC (permalink / raw)
  To: 9fans

When a ORCLOSE file is created by a process at
machine A into a FS at machine B, if the machine
A goes away (e.g., you power it down), the file
is not removed. This is as it could be expected, because
ORCLOSE, IFAIK, is processed by the kernel during the cleanup
done for the process while it exits.

My question is, whouldn't it be better to honor ORCLOSE
within the file server? (i.e., lib9p and fossil, mostly).
This is more resilient to failures and disconnections of the
client kernel. Otherwise, files are kept hanging around.

I was about to change this for Plan B, because we use
ORCLOSE files to announce our file trees. If this is no ok
for Plan 9 as well, I'll use something else for our announces.

thanks




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-04  1:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 23:42 [9fans] ORCLOSE erik quanstrom
2006-04-04  1:08 ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2006-04-03 23:10 erik quanstrom
2006-04-03 15:11 Fco. J. Ballesteros
2006-04-04  0:40 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).