From: Jeff Garzik <jgarzik@pobox.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
davej@redhat.com
Subject: Re: [PATCH] libata: fix broken Kconfig setup
Date: Mon, 17 Oct 2005 13:38:44 -0400 [thread overview]
Message-ID: <4353E1A4.4050404@pobox.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0510171017010.3369@g5.osdl.org>
Linus Torvalds wrote:
> The _best_ choice as far as I can tell, is to just dis-associate SATA from
> SCSI entirely. Even if it's an implementation choice, we could make it a
> "select SCSI" instead of "depends on SCSI", so that from a _logical_
> standpoint the user could just select SATA support without even knowing
> that the kernel happens to need the SCSI layer for it.
Yep. That would happen as a side effect of moving the code to
drivers/ata, even.
> Of course, eventually I still hope that SATA could be done on the block
> layer instead of even depending on SCSI at all, but hey, that's a totally
> different issue.
If you look at libata-scsi, the code is simply a SCSI simulator that
calls a _clean_ and _separate_ libATA API.
Other code -- such as a block-layer driver -- could use this same API.
I think Bart has mentioned he has early code to do this, or at least
ideas on how to do it.
I made a promise to you, to do it at the block layer, and I intend to
keep my promise. :) It just takes years to get there. The two main
reasons for using SCSI were/are:
* provides a bunch of useful _generic_ infrastructure
* has a very high Just Works(tm) value for distro installers and users,
where code already exists for /dev/sdX. I learned the hard way with
drivers/block/sx8.c that adding a new block device involves coordination
with multiple distros :(
I dream of a /dev/disk, perhaps reusing and expanding /dev/sdX's block
majors, but that may be unrealistic.
Jeff
next prev parent reply other threads:[~2005-10-17 17:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 4:46 [PATCH] libata: fix broken Kconfig setup Jeff Garzik
2005-10-17 11:10 ` Matthias Urlichs
2005-10-17 11:20 ` Jeff Garzik
2005-10-17 15:14 ` Linus Torvalds
2005-10-17 15:32 ` Jeff Garzik
2005-10-17 15:58 ` Linus Torvalds
2005-10-17 16:21 ` Jeff Garzik
2005-10-17 16:38 ` Linus Torvalds
2005-10-17 16:53 ` Linus Torvalds
2005-10-17 17:11 ` Jeff Garzik
2005-10-17 17:25 ` Linus Torvalds
2005-10-17 17:38 ` Jeff Garzik [this message]
2005-10-19 11:49 ` Alistair John Strachan
2005-10-19 16:02 ` Randy.Dunlap
2005-10-17 17:01 ` Jeff Garzik
2005-10-18 11:15 ` Sergey Vlasov
2005-10-18 20:56 ` Jeff Garzik
2005-10-17 17:12 ` Linus Torvalds
2005-10-17 17:22 ` Jeff Garzik
2005-10-17 16:52 ` Jesse Barnes
2005-10-17 17:03 ` Jeff Garzik
2005-10-17 17:06 ` Jesse Barnes
2005-10-17 17:16 ` Jeff Garzik
2005-10-20 14:14 ` Alan Cox
2005-10-20 16:45 ` Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4353E1A4.4050404@pobox.com \
--to=jgarzik@pobox.com \
--cc=akpm@osdl.org \
--cc=davej@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).