From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hudec Subject: Re: which dentry a page belongs to Date: Sat, 24 Apr 2004 11:32:38 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040424093238.GD7119@vagabond> References: <1082732223.1943.11.camel@zaphod> <20040423151458.GC6300@mail.shareable.org> <1082734938.1943.26.camel@zaphod> <20040423173738.A3812@infradead.org> <20040424084445.GB7119@vagabond> <20040424102056.A10932@infradead.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="llIrKcgUOe3dCx0c" Cc: Shaya Potter , Jamie Lokier , linux-fsdevel@vger.kernel.org Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:57256 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S262071AbUDXJc5 (ORCPT ); Sat, 24 Apr 2004 05:32:57 -0400 To: Christoph Hellwig Content-Disposition: inline In-Reply-To: <20040424102056.A10932@infradead.org> List-Id: linux-fsdevel.vger.kernel.org --llIrKcgUOe3dCx0c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 24, 2004 at 10:20:56 +0100, Christoph Hellwig wrote: > 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 guran= tee > > > the mapping that dirtied the page still exists when the page is writt= en out > > > by the VM. > >=20 > > 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). >=20 > 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.. Looked at ext2 code... OK, in 2.4 the generic_commit_write goes right to buffer cache. So filesystems using it do not use writepage. But filesystems may set_page_dirty in commit_write and that would mean writepage. ---------------------------------------------------------------------------= ---- Jan 'Bulb' Hudec --llIrKcgUOe3dCx0c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAijQ2Rel1vVwhjGURAjGAAKCJXaGeSyLbALzNQmqyc6fBbSUR0gCfQWBJ 7RZ9vmQ0wWrU3CLP99Ihxyk= =5dlP -----END PGP SIGNATURE----- --llIrKcgUOe3dCx0c--