Re: Libata PATA status

From: Jeff Garzik
Date: Thu Jul 05 2007 - 19:27:57 EST


Andi Kleen wrote:
My personal wish list feature would be a little forwarder driver
to forward /dev/hd* to /dev/sd* for this; then old IDE could be
disabled without risking breaking old root file systems.


That's on the long-term TODO list.

libata is moving towards making libata-scsi an optional module (will always be around for ATAPI, and for compat with current ATA), and driving ATA disks as a native block driver, rather than having SCSI do the work for us.

libata's qc_issue/qc_complete high level API and internal modularity were designed to make this possible. It is easy to see in the current code how libata-scsi is merely a user of the qc_issue/qc_complete API, with all the low-level details isolated away from that module.

Addendum: Remember too, /dev/hdX is not just a major/minor pair, but a userspace interface, complete with expected ioctl support.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/