[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-btrfs
Subject:    [PATCH V3 2/8] Cleancache: cleancache_poolid in superblock
From:       Dan Magenheimer <dan.magenheimer () oracle ! com>
Date:       2010-06-21 23:19:09
Message-ID: 20100621231909.GA19488 () ca-server1 ! us ! oracle ! com
[Download RAW message or body]

[PATCH V3 2/8] Cleancache: 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.35-rc2/include/linux/fs.h	2010-06-05 21:43:24.000000000 -0600
+++ linux-2.6.35-rc2-cleancache/include/linux/fs.h	2010-06-11 09:01:37.000000000 -0600
@@ -1382,6 +1382,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);
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic