Re: [PATCH 2/5] writeback: stop periodic/background work on seeing sync works

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Monday, August 2, 2010 - 8:01 pm

On Tue, Aug 03, 2010 at 04:51:52AM +0800, Jan Kara wrote:

I do have a poor man's solution that can handle this case.
https://kerneltrap.org/mailarchive/linux-fsdevel/2009/10/7/6476473/thread
It may do more extra works, but will stop livelock in theory.

A related question is, what if some for_reclaim works get enqueued?
Shall we postpone the sync work as well? The global sync is not likely
to hit the dirty pages in a small memcg, or may take long time. It
seems not a high priority task though.



I like it. It's much simpler.

Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>


Thanks,
Fengguang
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/5] [RFC] transfer ASYNC vmscan writeback IO ..., KOSAKI Motohiro, (Fri Jul 30, 2:22 am)
Re: [PATCH 2/5] writeback: stop periodic/background work o ..., Wu Fengguang, (Mon Aug 2, 8:01 pm)