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

From: Wu Fengguang
Date: Sat Oct 22 2011 - 03:00:16 EST


> In general it looks better we first root case the "decreasing wrote
> pages by writeback_single_inode() over time" problem before looking
> into further steps..

The problem shows up in many of the regression cases. For example,
the thresh=1G/ext4-100dd case with patches 1-4 applied will not only
see nr_writeback occasionally dropped low (bdi_dirty_state-8:0.png),
but also see repeated pattern of nr_wrote by writeback_single_inode()
slowly decreasing to 0 during some period of dozens of seconds
(writeback_single_inode.png).

Thanks,
Fengguang

Attachment: bdi_dirty_state-8:0.png
Description: PNG image

Attachment: balance_dirty_pages-pages.png
Description: PNG image

Attachment: writeback_single_inode.png
Description: PNG image

Attachment: iostat-misc.png
Description: PNG image