Re: [PATCH] New QStor SATA/RAID Driver for 2.6.9-rc2

Mark Lord
2004-09-14T17:37:53Z

Thanks Jeff,

I'll look into most of your points and give responses and changes
where required. But first, a few overall notes on the approach.

This is a hardware RAID device, but it requires driver knowledge
of the RAID features. It does not map to libata at all, unfortunately,
because all of the queuing features are completely non-SATA standard,
and the RAID stuff is (as normal) peculiar to the chip.

Here's a question for you: like all of the other RAID drivers,
this one needs an interface to a userland RAID management GUI.

The usual method for this is to create a fake character device driver,
and use that as the interface to userland. This is commonly done,
but is it the best way to handle such? A /proc/ or /sys/ interface
could achieve similar goals, but without the need of a fake device.

We can go either way with this one, so lets hear some opinions on it.

For the rest, this driver has been around (vendor driver) since before
libata became usable, and certainly before libata existed in 2.4.xx.
The driver will eventuall need to compile and run in 2.4.20,
for customers using old Redhat kernels. It's not there yet,
but if it were to lean more heavily on 2.6.xx stuff,
then that will be more difficult to achieve.

Cheers
--
Mark Lord
(hdparm keeper & the original "Linux IDE Guy")