Re: [PATCH 0/7] writeback: avoid touching dirtied_when on blockedinodes

From: Jan Kara
Date: Thu Oct 20 2011 - 19:21:35 EST


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@xxxxxxx>
SUSE Labs, CR