From bcd994cd6bbcc47530a94e9e7a6ed44ae0ef928c Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Fri, 9 Mar 2012 07:26:22 -0800 Subject: [PATCH] --- yaml --- r: 296599 b: refs/heads/master c: 697e6fed9fc620eb6c79ebcfe6865b66773c0221 h: refs/heads/master i: 296597: fa2acbe29dc9cdf5475acea08c3bbc32a3a2741a 296595: 4077d9c1fc8650aa13575bbbd2edb4a1c46e96b3 296591: 6d6f8660416c4740e2d62a7c9fa24043d2653de9 v: v3 --- [refs] | 2 +- trunk/fs/fs-writeback.c | 20 ++------------------ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/[refs] b/[refs] index 5a8b8671cbac..6bd4d543957a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f469ec9c5b95dfed60d5d628e1a8cecfc1f92d7a +refs/heads/master: 697e6fed9fc620eb6c79ebcfe6865b66773c0221 diff --git a/trunk/fs/fs-writeback.c b/trunk/fs/fs-writeback.c index f60297ba4912..be84e28d62af 100644 --- a/trunk/fs/fs-writeback.c +++ b/trunk/fs/fs-writeback.c @@ -256,7 +256,8 @@ static bool inode_dirtied_after(struct inode *inode, unsigned long t) } /* - * Move expired dirty inodes from @delaying_queue to @dispatch_queue. + * Move expired (dirtied after work->older_than_this) dirty inodes from + * @delaying_queue to @dispatch_queue. */ static int move_expired_inodes(struct list_head *delaying_queue, struct list_head *dispatch_queue, @@ -1148,23 +1149,6 @@ void __mark_inode_dirty(struct inode *inode, int flags) } EXPORT_SYMBOL(__mark_inode_dirty); -/* - * Write out a superblock's list of dirty inodes. A wait will be performed - * upon no inodes, all inodes or the final one, depending upon sync_mode. - * - * If older_than_this is non-NULL, then only write out inodes which - * had their first dirtying at a time earlier than *older_than_this. - * - * If `bdi' is non-zero then we're being asked to writeback a specific queue. - * This function assumes that the blockdev superblock's inodes are backed by - * a variety of queues, so all inodes are searched. For other superblocks, - * assume that all inodes are backed by the same queue. - * - * The inodes to be written are parked on bdi->b_io. They are moved back onto - * bdi->b_dirty as they are selected for writing. This way, none can be missed - * on the writer throttling path, and we get decent balancing between many - * throttled threads: we don't want them all piling up on inode_sync_wait. - */ static void wait_sb_inodes(struct super_block *sb) { struct inode *inode, *old_inode = NULL;