From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: which dentry a page belongs to Date: Sat, 24 Apr 2004 10:20:56 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040424102056.A10932@infradead.org> References: <1082732223.1943.11.camel@zaphod> <20040423151458.GC6300@mail.shareable.org> <1082734938.1943.26.camel@zaphod> <20040423173738.A3812@infradead.org> <20040424084445.GB7119@vagabond> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Shaya Potter , Jamie Lokier , linux-fsdevel@vger.kernel.org Return-path: Received: from phoenix.infradead.org ([213.86.99.234]:46598 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S262113AbUDXJU6 (ORCPT ); Sat, 24 Apr 2004 05:20:58 -0400 To: Jan Hudec Content-Disposition: inline In-Reply-To: <20040424084445.GB7119@vagabond>; from bulb@ucw.cz on Sat, Apr 24, 2004 at 10:44:46AM +0200 List-Id: linux-fsdevel.vger.kernel.org On Sat, Apr 24, 2004 at 10:44:46AM +0200, Jan Hudec wrote: > On Fri, Apr 23, 2004 at 17:37:38 +0100, Christoph Hellwig wrote: > > in 2.4 writepage is always the result of data dirtied by mmap. In 2.6 it's > > also for use for data dirtied by write. Even in 2.4 there's no gurantee > > the mapping that dirtied the page still exists when the page is written out > > by the VM. > > No, It's the same in 2.4 and 2.6 -- both may use writepage for write > (depends on how you implement your commit_write). Well, okay. At least xfs uses writepage and some network filesystems do aswell. The filesystems using generic fs/buffer.c routines don't use writepage at least..