[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081218230251.8C3C011D108@picon.linux-foundation.org>
Date: Thu, 18 Dec 2008 15:02:51 -0800 (PST)
From: bugme-daemon@...zilla.kernel.org
To: linux-ext4@...r.kernel.org
Subject: [Bug 12224] journal activity on inactive partition causes inactive harddrive spinup
http://bugzilla.kernel.org/show_bug.cgi?id=12224
------- Comment #12 from sandeen@...hat.com 2008-12-18 15:02 -------
In a nutshell, with laptop mode on, we go down this path:
static void laptop_timer_fn(unsigned long unused)
{
pdflush_operation(laptop_flush, 0);
}
static void laptop_flush(unsigned long unused)
{
sys_sync();
}
which gets us to the new
static int ext3_sync_fs(struct super_block *sb, int wait)
{
sb->s_dirt = 0;
if (wait)
ext3_force_commit(sb);
...
which is then committing empty transactions. Seems like we should be smart
enough to skip committing transactions w/ nothing in them...?
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists