Skip to contentSkip to conversation

Cleancache (was Transcendent Memory): cleancache_poolid in superblock

PATCH In review Dan Magenheimer 1 participant 1 message May 28, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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

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

Diffstat:

 fs.h                                     |    5 +++++
 1 file changed, 5 insertions(+)
include/linux/fs.h +5 -0
@@ -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);