I have been chasing down the way the inode and page caches are structured and handled, but there is a mystery I have not been able to track down yet.  How does the I/O queue that dirty inodes and pages are put into when it’s time to flush them out to disk get picked up?  Also, where are the sources for the I/O schedulers?  I haven’t been able to locate them yet either.

 

I know this should not be too hard to locate, but it seems as though there’s some magic involved when the inode/page gets put in the i/o queue and then <something happens here> and the i/o is scheduled and, eventually, performed.

 

Thanks.

 

Mark Hull-Richter         Linux Kernel Engineer
(949) 680-3082 - Office     (949) 680-3001 - Fax     (949) 632-8403 - Mobile
mhull-richter@datallegro.com
www.datallegro.com