From: Nick Piggin Subject: Re: [PATCH] exofs: simple fsync race fix Date: Thu, 25 Nov 2010 22:50:33 +1100 Message-ID: <20101125115033.GA3643@amd> References: <20101125074909.GA4160@amd> <4CEE2C2E.4010003@panasas.com> <20101125100603.GA3164@amd> <4CEE3F9F.9070108@panasas.com> <4CEE3FD8.6080202@panasas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nick Piggin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, Roman Zippel , "Tigran A. Aivazian" , OGAWA Hirofumi , Dave Kleikamp , Bob Copeland , reiserfs-devel@vger.kernel.org, Christoph Hellwig , Evgeniy Dushistov , Jan Kara To: Boaz Harrosh Return-path: Content-Disposition: inline In-Reply-To: <4CEE3FD8.6080202@panasas.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org This is fine, we'll get it merged before 2.6.37, just give a couple of days for review, I haven't had much confirmation from other vfs people about these problems. Thanks, Nick On Thu, Nov 25, 2010 at 12:52:08PM +0200, Boaz Harrosh wrote: > From: Nick Piggin > > It is incorrect to test inode dirty bits without participating in the inode > writeback protocol. Inode writeback sets I_SYNC and clears I_DIRTY_?, then > writes out the particular bits, then clears I_SYNC when it is done. BTW. it > may not completely write all pages out, so I_DIRTY_PAGES would get set > again. >