mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* stacked bdev driver, howto? locking of lower level block device
@ 2002-08-05 20:16 Lars Ellenberg
       [not found] ` <20020807105059.A18751@vato.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ellenberg @ 2002-08-05 20:16 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-08  4:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-05 20:16 stacked bdev driver, howto? locking of lower level block device Lars Ellenberg
     [not found] ` <20020807105059.A18751@vato.org>
     [not found]   ` <200208060542.g765gc856679@sullivan.realtime.net>
2002-08-07 20:55     ` Lars Ellenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®