From: Dan Magenheimer Subject: Cleancache [PATCH 1/7] (was Transcendent Memory): cleancache_poolid in superblock Date: Thu, 22 Apr 2010 06:27:49 -0700 Message-ID: <20100422132749.GA27287__3077.47727861187$1271942989$gmane$org@ca-server1.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:30769 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753835Ab0DVN3O (ORCPT ); Thu, 22 Apr 2010 09:29:14 -0400 Content-Disposition: inline Sender: linux-ext4-owner@vger.kernel.org List-ID: (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 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);