[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111020232116.GB20542@quack.suse.cz>
Date: Fri, 21 Oct 2011 01:21:16 +0200
From: Jan Kara <jack@...e.cz>
To: Wu Fengguang <fengguang.wu@...el.com>
Cc: linux-fsdevel@...r.kernel.org, Jan Kara <jack@...e.cz>,
Dave Chinner <david@...morbit.com>,
Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/7] writeback: avoid touching dirtied_when on blocked
inodes
Hello,
On Thu 20-10-11 23:22:40, Wu Fengguang wrote:
> This tries to keep dirtied_when for blocked inodes by converting some
> redirty_tail() calls to requeue_io_wait(). The possibly blocked inodes
> will be moved to b_more_io_wait. The b_more_io_wait inodes will now be
> retried as dillegent as b_more_io inodes, except when the latter goes empty,
> b_more_io_wait will be retried by the kupdate work on increasing intervals
> until exceeding dirty_writeback_interval.
>
> Christoph Hellwig (1):
> writeback: avoid redirtying when ->write_inode failed to clear I_DIRTY
>
> Jan Kara (2):
> writeback: update wb->last_active on written pages/inodes
> writeback: Retry kupdate work early if we need to retry some inode writeback
>
> Wu Fengguang (4):
> writeback: introduce queue b_more_io_wait
> writeback: requeue_io_wait() on pages_skipped inode
> writeback: requeue_io_wait() on blocked inode
> writeback: requeue_io_wait() when failed to grab superblock
How about adding the attached patch to the series? With it applied we
would have all busyloop prevention done in the same way.
Honza
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
View attachment "0001-writeback-requeue_io_wait-when-I_SYNC-is-set.patch" of type "text/x-patch" (2300 bytes)
Powered by blists - more mailing lists