Setting a buffer_heads 'real_device'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
begin:vcard 
n:Vodisek;Mario
tel;fax:---
tel;home:0160/632 96 92
tel;work:---
x-mozilla-html:FALSE
org:University of Paderborn;AG Meyer auf der Heide - Theoretical computing -
version:2.1
email;internet:vodisek@upb.de
title:research assistant
adr;quoted-printable:;;Liebfrauenweg 9=0D=0A	;33334 Gütersloh;;;Germany
x-mozilla-cpt:;-9984
fn:Mario Vodisek
end:vcard

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux