From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH 01/45] writeback: reduce calls to global_page_state in balance_dirty_pages() Date: Fri, 09 Oct 2009 17:18:32 +0200 Message-ID: <1255101512.8802.65.camel@laptop> References: <20091007073818.318088777@intel.com> <20091007074901.251116016@intel.com> <20091009151230.GF7654@duck.suse.cz> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Wu Fengguang , Andrew Morton , Theodore Tso , Christoph Hellwig , Dave Chinner , Chris Mason , Li Shaohua , Myklebust Trond , "jens.axboe@oracle.com" , Nick Piggin , linux-fsdevel@vger.kernel.org, Richard Kennedy , LKML To: Jan Kara Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:33094 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760858AbZJIPTq (ORCPT ); Fri, 9 Oct 2009 11:19:46 -0400 In-Reply-To: <20091009151230.GF7654@duck.suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, 2009-10-09 at 17:12 +0200, Jan Kara wrote: > Ugh, but this is not equivalent! We would block the writer on some BDI > without any dirty data if we are over global dirty limit. That didn't > happen before. It should have, we should throttle everything calling balance_dirty_pages() when we're over the total limit.