From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736Ab1DUEkU (ORCPT ); Thu, 21 Apr 2011 00:40:20 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:50781 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799Ab1DUEkR (ORCPT ); Thu, 21 Apr 2011 00:40:17 -0400 Date: Thu, 21 Apr 2011 00:40:08 -0400 From: Christoph Hellwig To: Wu Fengguang Cc: Andrew Morton , Jan Kara , Mel Gorman , Trond Myklebust , Dave Chinner , Itaru Kitayama , Minchan Kim , LKML , linux-fsdevel@vger.kernel.org, Linux Memory Management List Subject: Re: [PATCH 6/6] NFS: return -EAGAIN when skipped commit in nfs_commit_unstable_pages() Message-ID: <20110421044008.GD22423@infradead.org> References: <20110419030003.108796967@intel.com> <20110419030532.902141228@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110419030532.902141228@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 19, 2011 at 11:00:09AM +0800, Wu Fengguang wrote: > It's probably not sane to return success while redirtying the inode at > the same time in ->write_inode(). It is not, as it really confuses the writeback code.