Re: What still uses the block layer?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Monday, October 15, 2007 - 11:46 am

Greg KH wrote:

Agreed.



/somewhat/ true I'm afraid:  libata uses the SCSI layer for ATAPI 
devices because they are essentially bridges to SCSI devices.  It uses 
the SCSI layer for ATA devices because the SCSI layer provided a huge 
amount of infrastructure that would need to have been otherwise 
duplicated, /then/ massaged into coordinating between <jgarzik's ATA 
layer> and <SCSI layer> when dealing with ATAPI.

There is also a detail that was of /huge/ value when introducing a new 
device class:  distro installers automatically work, if you use SCSI. 
If you use a new block device type, that behaves differently from other 
types and is on a different major, you have to poke the distros into 
action or do it yourself.

IOW, it was the high Just Works(tm) value of the SCSI layer when it came 
to ATA (not ATAPI) devices.

For the future, ATA will eventually be more independent (though the SCSI 
simulator will be available as an option, for compat), but the value is 
big enough to put that task on the back-burner.

	Jeff



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What still uses the block layer?, Rob Landley, (Thu Oct 11, 6:11 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Sat Oct 13, 3:05 pm)
Re: What still uses the block layer?, David Newall, (Sat Oct 13, 10:54 pm)
Re: What still uses the block layer?, Stefan Richter, (Sun Oct 14, 10:46 am)
Re: What still uses the block layer?, James Bottomley, (Sun Oct 14, 3:24 pm)
Re: What still uses the block layer?, Tilman Schmidt, (Sun Oct 14, 3:35 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 4:36 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 4:45 pm)
Re: What still uses the block layer?, Luben Tuikov, (Sun Oct 14, 5:45 pm)
Re: What still uses the block layer?, Theodore Tso, (Sun Oct 14, 6:45 pm)
Re: What still uses the block layer?, Stefan Richter, (Sun Oct 14, 10:44 pm)
Re: What still uses the block layer?, Greg KH, (Sun Oct 14, 11:00 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 11:51 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 1:04 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 1:36 am)
Re: What still uses the block layer?, Luben Tuikov, (Mon Oct 15, 1:37 am)
Re: What still uses the block layer?, Christoph Hellwig, (Mon Oct 15, 1:52 am)
Re: What still uses the block layer?, Julian Calaby, (Mon Oct 15, 2:06 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:26 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 3:08 am)
Re: What still uses the block layer?, Loïc Grenié, (Mon Oct 15, 3:32 am)
Re: What still uses the block layer?, Alan Cox, (Mon Oct 15, 6:08 am)
Re: What still uses the block layer?, James Bottomley, (Mon Oct 15, 6:10 am)
Re: What still uses the block layer?, Theodore Tso, (Mon Oct 15, 6:21 am)
Re: What still uses the block layer?, Alan Cox, (Mon Oct 15, 6:29 am)
Re: What still uses the block layer?, Theodore Tso, (Mon Oct 15, 6:35 am)
Re: What still uses the block layer?, Arjan van de Ven, (Mon Oct 15, 7:00 am)
Re: What still uses the block layer?, Douglas Gilbert, (Mon Oct 15, 7:46 am)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 9:08 am)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 10:10 am)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 10:25 am)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 10:33 am)
Re: What still uses the block layer?, Jeff Garzik, (Mon Oct 15, 10:44 am)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 11:00 am)
Re: What still uses the block layer?, Jeff Garzik, (Mon Oct 15, 11:46 am)
Re: What still uses the block layer?, Matthew Garrett, (Mon Oct 15, 11:56 am)
Re: What still uses the block layer?, Wilfried Klaebe, (Mon Oct 15, 1:29 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:09 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:51 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 3:54 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 7:51 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 7:54 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 8:06 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Mon Oct 15, 8:55 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 9:04 pm)
Re: What still uses the block layer?, Arjan van de Ven, (Mon Oct 15, 9:11 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 9:15 pm)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 9:21 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Mon Oct 15, 9:38 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Mon Oct 15, 9:45 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 10:00 pm)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 10:56 pm)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 11:33 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Tue Oct 16, 2:31 am)
Re: What still uses the block layer?, Alan Cox, (Tue Oct 16, 3:19 am)
Re: What still uses the block layer?, Matthew Wilcox, (Tue Oct 16, 12:54 pm)
Re: What still uses the block layer?, david, (Tue Oct 16, 12:54 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 1:18 pm)
Re: What still uses the block layer?, Theodore Tso, (Tue Oct 16, 1:34 pm)
Re: What still uses the block layer?, david, (Tue Oct 16, 1:55 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 1:56 pm)
Re: What still uses the block layer?, Alan Cox, (Tue Oct 16, 2:49 pm)
Re: What still uses the block layer?, Valdis.Kletnieks, (Tue Oct 16, 10:34 pm)
Re: What still uses the block layer?, david, (Tue Oct 16, 11:07 pm)
Re: What still uses the block layer?, Gabor Gombas, (Wed Oct 17, 2:48 am)
Re: What still uses the block layer?, Stefan Richter, (Wed Oct 17, 10:23 am)
Re: What still uses the block layer?, david, (Wed Oct 17, 2:04 pm)
Re: What still uses the block layer?, Bill Davidsen, (Wed Oct 17, 4:43 pm)