From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Plan 9 server controls impaired and steps taken before
Date: Sat, 14 May 2005 18:33:47 -0400 [thread overview]
Message-ID: <ee9e417a0505141533362474f@mail.gmail.com> (raw)
In-Reply-To: <1fdacd4aa6b0973c15386e1f8e7aa6df@ar.aichi-u.ac.jp>
> > There is a window (I think ten seconds) between snap -a
> > and fossil deciding to start archiving. If you access any
> > file in those ten seconds then enough of the root gets
> > copied-on-write that you shouldn't see the deadlock at all.
> >
>
> What happens if some accesses come from Internet during that time ?
> Files in /sys/log/* are big enough.
> Sorry I couldn't understand "the root".
The root of the tree of files and blocks. It's copy-on-write
after a snapshot but snap -a locks the blocks while it is
archiving. If the block has already been copied, no big deal.
If it's still the one in the file tree (not been copied-on-write yet)
then you can't access it until the archiver finishes. I should
fix this to be some sort of read lock but it's not completely
straightforward.
Russ
next prev parent reply other threads:[~2005-05-14 22:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 1:43 [9fans] Plan 9 server controls impaired and steps taken before failure Vester Thacker
2005-05-10 1:50 ` andrey mirtchovski
2005-05-10 21:28 ` Bruce Ellis
2005-05-10 23:14 ` [9fans] Plan 9 server controls impaired and steps taken before andrey mirtchovski
2005-05-11 0:33 ` Vester Thacker
2005-05-13 16:26 ` Russ Cox
2005-05-13 21:29 ` arisawa
2005-05-14 17:11 ` Vester Thacker
2005-05-14 18:03 ` Russ Cox
2005-05-14 22:06 ` arisawa
2005-05-14 22:33 ` Russ Cox [this message]
2005-05-16 6:10 YAMANASHI Takeshi
2005-05-16 9:04 ` Richard Miller
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=ee9e417a0505141533362474f@mail.gmail.com \
--to=russcox@gmail.com \
--cc=9fans@cse.psu.edu \
/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).