On Don, 2011-09-08 at 14:39 +0200, Jens Axboe wrote: > On 2011-09-05 16:01, Werner Fischer wrote: > > On Don, 2011-09-01 at 15:13 -0600, Jens Axboe wrote: > >> [...] > >> I mean that every device should plug in at the same place. There are > >> definite up and down sides to plugging in at the stacking level and > >> bypassing the IO scheduler. So you have to weight the pros and cons > >> before doing that. We need to fix this. Drivers doing that lose out on > >> other features in the name of a bit more performance, that's just not > >> acceptable. > > > > I have updated the diagram according to all of your hints: > > http://www.thomas-krenn.com/de/wikiDE/images/0/07/Linux-IO-Stack.png > > > > I had also some off-list discussion with Florian Haas, who convinced me > > that the file systems are below of the page cache. I hope this is now > > correct. > > Not sure I'd agree with that, I'd place the page cache between the fs > and the storage layer. After some further off-list feedback from Christoph Hellwig I did some updates on the block diagram, including moving the page cache from above the fs layer to next to the fs layer (Christoph told me that the page cache is a helper function for the file systems). I also added SCSI mid layer, SCSI low layer, libata and so on: http://www.thomas-krenn.com/de/wikiDE/images/0/07/Linux-IO-Stack.png I'm looking forward to further feedback. Thanks, Werner -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html