lkml.org 
[lkml]   [2010]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectCleancache [PATCH 1/7] (was Transcendent Memory): cleancache_poolid in superblock
(Sorry for resend... Mail server DNS problems sending to some recipients)

Cleancache [PATCH 1/7] (was Transcendent Memory): cleancache_poolid in superblock

Add cleancache_poolid to superblock structure... not tied
to CONFIG_CLEANCACHE so as to avoid unnecessary clutter.

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>

Diffstat:
fs.h | 5 +++++
1 file changed, 5 insertions(+)

--- linux-2.6.34-rc5/include/linux/fs.h 2010-04-19 17:29:56.000000000 -0600
+++ linux-2.6.34-rc5-cleancache/include/linux/fs.h 2010-04-21 10:06:28.000000000 -0600
@@ -1383,6 +1383,11 @@ struct super_block {
* generic_show_options()
*/
char *s_options;
+
+ /*
+ * Saved pool identifier for cleancache (-1 means none)
+ */
+ int cleancache_poolid;
};

extern struct timespec current_fs_time(struct super_block *sb);

\
 
 \ /
  Last update: 2010-04-22 15:31    [W:0.049 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site