From: rog@vitanuova.com
To: paurea@gmail.com, 9fans@cse.psu.edu
Subject: Re: [9fans] afid and fd, mapping from user space
Date: Thu, 7 Jul 2005 03:33:42 +0100 [thread overview]
Message-ID: <37ef730aacf5a0b86b77caaa538afd8d@vitanuova.com> (raw)
In-Reply-To: <599f06db050701152062c908fe@mail.gmail.com>
> I am porting Recover to 4e. Recover is a filesystem which speaks
> 9P with two ends, a server and a client. When a connection falls down
> it pushes the state and restarts the pending requests, so you don't
> see a hung channel any more if your connection falls down.
i did something like this for inferno, but couldn't work out what was
the best thing to do about non-idempotent 9p transactions: if the
connection is lost before the reply to such a transaction is received,
what is the correct course of action? the client can't know whether the
transaction has actually taken place on the server.
examples of such requests:
create
wstat (rename)
write to an append-only file
any operation on a non-standard filesystem (e.g. writing a ctl file)
problems arising from this kind of thing will be
rare, but all the more insidious when they do actually happen.
in the end, i decided to make such requests yield Rerror("operation possibly failed"),
but i have a niggling feeling that the whole approach is wrong.
thoughts?
next prev parent reply other threads:[~2005-07-07 2:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-01 22:20 Gorka guardiola
2005-07-02 23:46 ` Russ Cox
2005-07-03 21:48 ` Gorka guardiola
2005-07-07 2:33 ` rog [this message]
2005-07-07 10:38 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37ef730aacf5a0b86b77caaa538afd8d@vitanuova.com \
--to=rog@vitanuova.com \
--cc=9fans@cse.psu.edu \
--cc=paurea@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).