From: OGAWA Hirofumi Subject: Re: [patch 3/3] fs: fix cont vs deadlock patches Date: Sat, 02 Dec 2006 00:47:23 +0900 Message-ID: <877ixbty7o.fsf@duaron.myhome.or.jp> References: <20061130072058.GA18004@wotan.suse.de> <20061130072202.GB18004@wotan.suse.de> <20061130072247.GC18004@wotan.suse.de> <20061130113241.GC12579@wotan.suse.de> <87r6vkzinv.fsf@duaron.myhome.or.jp> <20061201020910.GC455@wotan.suse.de> <87mz68xoyi.fsf@duaron.myhome.or.jp> <20061201050852.GA31347@wotan.suse.de> <20061130232102.0cc7fc0b.akpm@osdl.org> <20061201075341.GB31347@wotan.suse.de> <87slfzu0ty.fsf@duaron.myhome.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org Return-path: To: Nick Piggin In-Reply-To: <87slfzu0ty.fsf@duaron.myhome.or.jp> (OGAWA Hirofumi's message of "Fri\, 01 Dec 2006 23\:50\:49 +0900") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org OGAWA Hirofumi writes: > Ah, unfortunately we can't this. If we don't update ->i_size before > page_cache_release, pdflush will think these pages is outside ->i_size > and just clean the page without writing it. Ugh, of course, s/page_cache_release/unlock_page/ -- OGAWA Hirofumi