From: Lars Ellenberg <l.g.e@web.de>
To: linux-kernel@vger.kernel.org
Subject: stacked bdev driver, howto? locking of lower level block device
Date: Mon, 5 Aug 2002 22:16:52 +0200 [thread overview]
Message-ID: <20020805221652.A4250@johann> (raw)
Hi there, I'm new on this list.
I do some happy hacking with drbd, which is "distributed replicated
block device", a stacked block device driver by Phillipp Reisner,
aiming towards network raid, GFS, this stuff.
I'd like to implement some kind of locking of the lower level
block device, so nobody can mount it/modify it underneath the drbd
driver.
I know drivers/md/md.c does this somehow. I tried to understand
and adapt, but it does not work.
Hopefully my questions are trivial to some of you. Please put me
on the right track.
- How does block device locking work?
- In which mode do I have to open it?
- Which flags have to be set?
- What else am I missing?
TIA
Lars-Gunnar
next reply other threads:[~2002-08-05 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020807105059.A18751@vato.org>
[not found] ` <200208060542.g765gc856679@sullivan.realtime.net>
2002-08-05 20:16 ` Lars Ellenberg [this message]
2002-08-07 20:55 ` stacked bdev driver, howto? locking of lower level block device Lars Ellenberg
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=20020805221652.A4250@johann \
--to=l.g.e@web.de \
--cc=linux-kernel@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