The HyperNews Linux KHG Discussion Pages

More: ...are not recursive

Forum: Device Drivers
Re: Question block_read and block_write in Virtual Disk device driver? (Simon Edwards)
Keywords: block_read , block_write , strategy routine
Date: Tue, 03 Mar 1998 13:07:22 GMT
From: Michael K. Johnson <johnsonm@redhat.com>

"sounding stupid"? Not at all; that's an excellent question!

I suggest looking at the md driver, which provides RAID functionality. To do so, it has to change "virtual" block requests into physical block requests, and in many but not all cases it has to manipulate the data as well. The md driver is in the latest 2.0 and 2.1 kernels; look at the one that matches the kernel you are using.

Good luck!