From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id 991C46B01B2 for ; Mon, 21 Jun 2010 19:19:29 -0400 (EDT) Date: Mon, 21 Jun 2010 16:19:09 -0700 From: Dan Magenheimer Subject: [PATCH V3 2/8] Cleancache: cleancache_poolid in superblock Message-ID: <20100621231909.GA19488@ca-server1.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-linux-mm@kvack.org To: chris.mason@oracle.com, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, adilger@sun.com, tytso@mit.edu, mfasheh@suse.com, joel.becker@oracle.com, matthew@wil.cx, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, ocfs2-devel@oss.oracle.com, linux-mm@kvack.org, ngupta@vflare.org, jeremy@goop.org, JBeulich@novell.com, kurt.hackel@oracle.com, npiggin@suse.de, dave.mccracken@oracle.com, riel@redhat.com, avi@redhat.com, konrad.wilk@oracle.com, dan.magenheimer@oracle.com List-ID: [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 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org