Return-Path: Subject: Re: Linux I/O stack design question From: Werner Fischer In-Reply-To: <4E5FF57A.1040908@kernel.dk> References: <1314880418.11001.6.camel@werner-t410> <1314908040.2091.14.camel@werner-t410> <4E5FE840.9040706@kernel.dk> <1314908867.2091.23.camel@werner-t410> <4E5FF57A.1040908@kernel.dk> Content-Type: text/plain; charset="UTF-8" Date: Mon, 05 Sep 2011 16:01:32 +0200 Message-ID: <1315231292.2140.62.camel@werner-t410> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit To: Jens Axboe Cc: Jeff Moyer , "fio@vger.kernel.org" List-ID: 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. I took some information regarding the VFS layer from www.mimuw.edu.pl/~vincent/lecture12/12-fs.pdf I'm looking forward to your feedback and corrections. Best regards, Werner -- : Werner Fischer : Technology Specialist : Thomas-Krenn.AG | The server-experts : http://www.thomas-krenn.com | http://www.thomas-krenn.com/wiki