linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Francois Barre <francois.barre@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Ooops on read-only raid5 while unmounting as xfs
Date: Wed, 24 Jan 2007 10:54:12 +1100	[thread overview]
Message-ID: <17846.40996.525616.51618@notabene.brown> (raw)
In-Reply-To: message from Francois Barre on Tuesday January 23

On Tuesday January 23, francois.barre@gmail.com wrote:
> 
> My question is then : what prevents the upper layer to open the array
> read-write, submit a write and make the md code BUG_ON() ?

The theory is that when you tell an md array to become read-only, it
tells the block layer that it is read-only, and then if some process
tries to open it read/write, it gets an array.

I say "theory" because I have never really tested any of the read-only
stuff.  I have had a feeling for a long time that it really needs a
bit of thought and testing and documentation, but it never quite
seemed important enough to get that love-and-care....

NeilBrown

  reply	other threads:[~2007-01-23 23:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 10:18 Ooops on read-only raid5 while unmounting as xfs Francois Barre
2007-01-23  1:31 ` Neil Brown
2007-01-23 14:42   ` Francois Barre
2007-01-23 23:54     ` Neil Brown [this message]
2007-01-24 22:23       ` Nix

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=17846.40996.525616.51618@notabene.brown \
    --to=neilb@suse.de \
    --cc=francois.barre@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    /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).