9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] venti
Date: Fri,  9 Jan 2009 17:27:34 -0500	[thread overview]
Message-ID: <03e636be1abb554405edfb40633dca51@coraid.com> (raw)
In-Reply-To: <10594.1231539507@lunacy.ugrad.cs.cmu.edu>

> I seem to recall being surprised at some point to observe
> /dev/sdXX/data silently imposing a one-open-at-a-time policy
> (I think subsequent opens stalled).  Maybe a script run at
> system boot time could turn on DMEXCL for appropriate things
> in /dev/sd*/*?

i think you mean the raw file.

	; cat fu.c
	#include <u.h>
	#include <libc.h>

	void
	main(void)
	{
		int i, fd[2];

		for(i = 0; i < nelem(fd); i++){
			fd[i] = open("/dev/sdC0/data", OREAD);
			print("fd = %d\n", fd[i]);
		}
		exits("");
	}
	; 8c fu.c && 8l fu.8 && 8.out
	3
	4

- erik



  reply	other threads:[~2009-01-09 22:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  8:20 Tharaneedharan Vilwanathan
2009-01-09  9:44 ` Sape Mullender
2009-01-09 12:18   ` Richard Miller
2009-01-09 12:38     ` Sape Mullender
2009-01-09 13:39     ` erik quanstrom
2009-01-09 20:11   ` Dave Eckhardt
2009-01-09 20:27     ` erik quanstrom
2009-01-09 22:18       ` Dave Eckhardt
2009-01-09 22:27         ` erik quanstrom [this message]
2009-01-09 20:34     ` Steve Simon
2009-01-09 21:08     ` Roman V. Shaposhnik
  -- strict thread matches above, loose matches on Subject: below --
2007-10-04  1:51 Russ Cox
2007-10-07 20:51 ` Steve Simon
2007-07-03  4:58 [9fans] Venti Lucio De Re
2007-03-30 16:32 [9fans] venti Steve Simon
2003-02-06  1:11 Kenji Arisawa
2003-02-06  1:21 ` Russ Cox
2002-11-29 18:59 Russ Cox
2002-11-29 18:27 Russ Cox
2002-06-13 20:58 [9fans] bug or a feature? Dan Cross
2002-06-13 21:34 ` Tharaneedharan Vilwanathan
2002-06-13 22:51   ` [9fans] venti Tharaneedharan Vilwanathan
2002-06-14  2:19     ` Sean Quinlan
2002-06-14  5:05       ` Tharaneedharan Vilwanathan
2002-01-30 20:35 George Michaelson
     [not found] <rob@plan9.bell-labs.com>
2002-01-30  5:52 ` rob pike
2002-01-30  6:23   ` George Michaelson
2002-01-30  8:07   ` paurea
2002-01-30 11:17   ` Boyd Roberts

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=03e636be1abb554405edfb40633dca51@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@9fans.net \
    /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).