Re: What still uses the block layer?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan Richter <stefanr@...>
Cc: David Newall <david@...>, Matthew Wilcox <matthew@...>, <linux-kernel@...>, <linux-scsi@...>, Suparna Bhattacharya <suparna@...>, Nick Piggin <piggin@...>
Date: Sunday, October 14, 2007 - 7:36 pm

On Sunday 14 October 2007 12:46:12 pm Stefan Richter wrote:

When a reply contains as a reply to the first paragraph "you're wrong" with no 
elaboration, and as a reply to the second paragraph nothing but expletives 
and personal insults, I tend to stop reading.  It really doesn't come across 
as a serious reply.

I was at least attempting to ask a serious question.


Actually, I was going through Documentation/block thinking about making a 
00-INDEX for it, but my earlier questions of the scsi guys left me with the 
impression that the block layer is _not_ used by the SCSI layer.  And since 
every non-embedded modern storage device I'm aware of has been consumed by 
the SCSI layer (despite none of them actually having a discernably closer 
relationship to SCSI than ATA did), I didn't know whether or not it was more 
appropriate to index this directory or request its deletion.  So I asked.

Back when I  asked the scsi guys about this, I got no direct answer.  I 
asked "where does the block layer work into this" in the context of questiosn 
about the relationship between the scsi upper, middle, and lower layers, and 
I never got a reply, even though the question was quoted back at me here:
http://www.mail-archive.com/linux-scsi%40vger.kernel.org/msg09086.html

The closest I got to an answer was later in the thread:
http://www.mail-archive.com/linux-scsi%40vger.kernel.org/msg09131.html

Which said:

The gist of the thread (and the documentation I was referred to) is that the 
scsi "upper layer" presents /dev nodes and ioctls, the scsi mid-layer is a 
routing layer very roughly analogus to a TCP/IP stack, and the scsi low-layer 
drivers interface with specific pieces of hardware.  Apparently, the block 
layer is not between any of these, they talk directly to each other.  This 
would seem to indicate that I/O requests made to scsi devices are never 
routed through a common block I/O request handling layer shared with non-SCSI 
block devices.  I was not, however, certain of this, hence my attempt to 
bring the topic back up.

Oh, and sending a patch correcting Jens Axboe's address in this old 
documentation.  He's apparently at Oracle now...

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.
-
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, 9:11 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Sat Oct 13, 6:05 pm)
Re: What still uses the block layer?, James Bottomley, (Sun Oct 14, 6:24 pm)
Re: What still uses the block layer?, Luben Tuikov, (Sun Oct 14, 8:45 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:51 am)
Re: What still uses the block layer?, Luben Tuikov, (Mon Oct 15, 4:37 am)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 7:45 pm)
Re: What still uses the block layer?, James Bottomley, (Mon Oct 15, 9:10 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 5:51 pm)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 2:00 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 4:36 am)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 1:25 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 6:54 pm)
Re: What still uses the block layer?, Jeff Garzik, (Mon Oct 15, 2:46 pm)
Re: What still uses the block layer?, Bill Davidsen, (Wed Oct 17, 7:43 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 2:33 am)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 2:00 pm)
Re: What still uses the block layer?, Arjan van de Ven, (Mon Oct 15, 10:00 am)
Re: What still uses the block layer?, Matthew Garrett, (Mon Oct 15, 2:56 pm)
Re: What still uses the block layer?, Alan Cox, (Mon Oct 15, 9:08 am)
Re: What still uses the block layer?, Christoph Hellwig, (Mon Oct 15, 4:52 am)
Re: What still uses the block layer?, Theodore Tso, (Sun Oct 14, 9:45 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 4:04 am)
Re: What still uses the block layer?, , (Wed Oct 17, 1:34 am)
Re: What still uses the block layer?, , (Wed Oct 17, 2:07 am)
Re: What still uses the block layer?, Theodore Tso, (Mon Oct 15, 9:21 am)
Re: What still uses the block layer?, , (Mon Oct 15, 10:51 pm)
Re: What still uses the block layer?, Douglas Gilbert, (Mon Oct 15, 10:46 am)
Re: What still uses the block layer?, Alan Cox, (Mon Oct 15, 9:29 am)
Re: What still uses the block layer?, Jeff Garzik, (Mon Oct 15, 1:44 pm)
Re: What still uses the block layer?, Theodore Tso, (Mon Oct 15, 9:35 am)
Re: What still uses the block layer?, Loïc Grenié, (Mon Oct 15, 6:32 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 5:09 pm)
Re: What still uses the block layer?, Julian Calaby, (Mon Oct 15, 5:06 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 6:08 am)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 1:33 pm)
Re: What still uses the block layer?, , (Mon Oct 15, 10:54 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Tue Oct 16, 12:04 am)
Re: What still uses the block layer?, Greg KH, (Tue Oct 16, 12:21 am)
Re: What still uses the block layer?, , (Tue Oct 16, 1:00 am)
Re: What still uses the block layer?, Arjan van de Ven, (Tue Oct 16, 12:11 am)
Re: What still uses the block layer?, , (Tue Oct 16, 12:15 am)
Re: OOM killer gripe (was Re: What still uses the block laye..., Eric W. Biederman, (Mon Oct 15, 11:55 pm)
Re: OOM killer gripe (was Re: What still uses the block laye..., Eric W. Biederman, (Tue Oct 16, 12:38 am)
Re: OOM killer gripe (was Re: What still uses the block laye..., Eric W. Biederman, (Tue Oct 16, 5:31 am)
Re: OOM killer gripe (was Re: What still uses the block laye..., Eric W. Biederman, (Tue Oct 16, 12:45 am)
Re: What still uses the block layer?, David Newall, (Sun Oct 14, 1:54 am)
Re: What still uses the block layer?, Stefan Richter, (Sun Oct 14, 1:46 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 7:36 pm)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 1:44 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 5:26 am)
Re: What still uses the block layer?, Wilfried Klaebe, (Mon Oct 15, 4:29 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 12:08 pm)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 1:10 pm)
Re: What still uses the block layer?, , (Mon Oct 15, 11:06 pm)
Re: What still uses the block layer?, Alan Cox, (Tue Oct 16, 6:19 am)
Re: What still uses the block layer?, , (Tue Oct 16, 3:54 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Tue Oct 16, 3:54 pm)
Re: What still uses the block layer?, , (Tue Oct 16, 4:55 pm)
Re: What still uses the block layer?, Gabor Gombas, (Wed Oct 17, 5:48 am)
Re: What still uses the block layer?, , (Wed Oct 17, 5:04 pm)
Re: What still uses the block layer?, Stefan Richter, (Wed Oct 17, 1:23 pm)
Re: What still uses the block layer?, Alan Cox, (Tue Oct 16, 5:49 pm)
Re: What still uses the block layer?, Theodore Tso, (Tue Oct 16, 4:34 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 4:56 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 4:18 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 1:56 am)
Re: What still uses the block layer?, Tilman Schmidt, (Sun Oct 14, 6:35 pm)