Ben Gras 
		49eb1f4806 
		
	 
	
	
	vm: new secondary cache code ... 
			Primary purpose of change: to support the mmap implementation, VM must
know both (a) about some block metadata for FS cache blocks, i.e.
inode numbers and inode offsets where applicable; and (b) know about
*all* cache blocks, i.e.  also of the FS primary caches and not just
the blocks that spill into the secondary one. This changes the
interface and VM data structures.
This change is only for the interface (libminixfs) and VM data
structures; the filesystem code is unmodified, so although the
secondary cache will be used as normal, blocks will not be annotated
with inode information until the FS is modified to provide this
information. Until it is modified, mmap of files will fail gracefully
on such filesystems.
This is indicated to VFS/VM by returning ENOSYS for REQ_PEEK.
Change-Id: I1d2df6c485e6c5e89eb28d9055076cc02629594e 
		
	 
		2013-04-24 10:18:16 +00:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2012-03-25 21:58:20 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:21 +00:00 
		 
	
		
			
			
			
			
			
			2013-03-08 09:41:49 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-10-15 18:24:30 +02:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-12-07 13:58:06 +01:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-06-18 10:53:35 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:20 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-01 11:41:48 +01:00 
		 
	
		
			
			
			
			
			
			2012-02-17 23:53:44 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:21 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2012-02-14 14:52:02 +01:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2011-12-11 22:45:46 +01:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:29 +01:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-30 10:54:40 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-08-12 14:11:28 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:36:26 +01:00 
		 
	
		
			
			
			
			
			
			2012-06-18 10:53:35 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-06 12:10:23 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2011-12-11 22:45:46 +01:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2013-04-12 18:55:40 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 21:58:20 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2011-11-23 15:56:13 +01:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-15 16:07:30 +01:00 
		 
	
		
			
			
			
			
			
			2012-02-15 19:04:58 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 21:58:26 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:20 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2010-09-14 21:31:56 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-21 10:29:08 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-25 18:44:17 +01:00 
		 
	
		
			
			
			
			
			
			2010-12-10 15:21:59 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-26 15:20:18 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-28 17:30:56 +02:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2011-07-16 13:01:19 +02:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-14 22:58:29 +00:00 
		 
	
		
			
			
			
			
			
			2010-09-10 17:00:30 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:36:26 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-21 20:28:37 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-11-26 15:20:18 +00:00 
		 
	
		
			
			
			
			
			
			2012-08-10 18:49:40 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:20 +00:00 
		 
	
		
			
			
			
			
			
			2010-09-10 09:22:22 +00:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:50:01 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:20 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-06 12:10:23 +00:00 
		 
	
		
			
			
			
			
			
			2013-04-24 10:18:16 +00:00 
		 
	
		
			
			
			
			
			
			2012-10-17 22:54:27 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-27 17:53:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-08-31 20:12:57 +02:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-04-13 12:58:41 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-05 22:41:49 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:20 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:36:26 +01:00 
		 
	
		
			
			
			
			
			
			2012-10-15 18:24:30 +02:00 
		 
	
		
			
			
			
			
			
			2013-04-12 18:55:40 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:20 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-04 16:17:07 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-15 11:06:34 +01:00 
		 
	
		
			
			
			
			
			
			2012-02-15 03:51:27 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2013-03-20 16:14:21 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2010-06-25 18:29:09 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-25 16:17:10 +02:00 
		 
	
		
			
			
			
			
			
			2012-09-19 13:43:17 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:24 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2012-06-18 10:53:35 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-14 11:44:31 +01:00 
		 
	
		
			
			
			
			
			
			2013-04-08 08:37:04 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-26 09:44:23 +00:00