Thread (4 messages) 4 messages, 3 authors, 2002-07-10

Setting a buffer_heads 'real_device'

From: Mario Vodisek <hidden>
Date: 2002-07-10 11:25:07

Hi,

I'm writing a virtual disk driver consisting of serveral real disks.
Hence I've to map read/write requests for my virtual device to
underlying
real devices, like md does so for RAID-Arrays.

So my question is how a virtual device driver (like 'md') manages the
read/write
request associated with a virtual (md-) device to get data from a
specific real
device within a 'block_read/block/write()' invokation !
I know that the buffer head-structure contains an entry for a virtual
and a real
device, but i don't know when and in which proper way to set these
components.

Somebody to help me ??

Mario Vodisek

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help