From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [Bug 18632] "INFO: task" dpkg "blocked for more than 120 seconds. Date: Thu, 9 Jun 2011 20:17:04 +0800 Message-ID: <20110609121704.GA7903@localhost> References: <201106082138.p58Lchgj002615@demeter2.kernel.org> <20110608150241.8412a63d.akpm@linux-foundation.org> <20110609033217.GA10741@localhost> <20110609035426.GA12061@localhost> <20110609082718.GA10335@infradead.org> <20110609090906.GA19186@localhost> <20110609110214.GA9017@infradead.org> <20110609121117.GA5768@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dave Chinner , Andrew Morton , Jan Kara , "linux-fsdevel@vger.kernel.org" , "bugzilla-daemon@bugzilla.kernel.org" , "daaugusto@gmail.com" , "kernel-bugzilla@cygnusx-1.org" , "listposter@gmail.com" , "justincase@yopmail.com" , "clopez@igalia.com" , Tao Ma , Jens Axboe , Vivek Goyal To: Christoph Hellwig Return-path: Received: from mga02.intel.com ([134.134.136.20]:47547 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754355Ab1FIMRK (ORCPT ); Thu, 9 Jun 2011 08:17:10 -0400 Content-Disposition: inline In-Reply-To: <20110609121117.GA5768@localhost> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: > > It might have some issues in the way it's implemented, I'll look if > > we can do something. But I suspect cfq delaying async writes too much > > is definitively going to cause issues for us here. > > It's definitely a problem that cfq delays async writes too much. > However in Carlos's report, > > https://bugzilla.kernel.org/attachment.cgi?id=61222 > > there are no sync(1) or fsync running at all. So it may be indicating > a different problem. Sorry, your assumption is still valid: there are several bash doing xfs_read()s which will generate the required sync IO to livelock async writes. Thanks, Fengguang