Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: genfs_getpages vs. genfs_compat_getpages

4 views
Skip to first unread message

Paul_...@dell.com

unread,
Aug 2, 2011, 3:19:38 PM8/2/11
to

-----Original Message-----
From: Eduardo Horvath [mailto:e...@NetBSD.org]
Sent: Tuesday, August 02, 2011 2:41 PM
To: Koning, Paul
Cc: tech...@netbsd.org
Subject: Re: genfs_getpages vs. genfs_compat_getpages

On Tue, 2 Aug 2011, Paul_...@Dell.com wrote:

> Gentlepeople,
>
> Some file systems use genfs_compat_getpages while others (most of them) use genfs_getpages. I'm trying to figure out the essential differences, and why one would pick one over the other.
>
> Any pointers?

genfs_vnops.c:

revision 1.43
date: 2001/12/18 07:49:36; author: chs; state: Exp; lines: +137 -2 add some compatibility routines to allow mmap() to work non-UBCified filesystems (in the same non-coherent fashion that they worked before).
=============================================================================


Thanks, that helps. It makes me wonder why NTFS uses it. Not quite such a surprise that LFS uses it...

paul


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Paul_...@dell.com

unread,
Aug 2, 2011, 2:08:55 PM8/2/11
to

Gentlepeople,

 

Some file systems use genfs_compat_getpages while others (most of them) use genfs_getpages.  I’m trying to figure out the essential differences, and why one would pick one over the other.


Any pointers?

 

               paul

Adam Hoka

unread,
Aug 2, 2011, 2:35:13 PM8/2/11
to

Without looking I would guess new users shouldnt use the compat version.

--
NetBSD - Simplicity is prerequisite for reliability
Software Engineering Department, University of Szeged

David Holland

unread,
Aug 3, 2011, 1:45:33 AM8/3/11
to
On Tue, Aug 02, 2011 at 02:19:38PM -0500, Paul_...@Dell.com wrote:
> Thanks, that helps. It makes me wonder why NTFS uses it. Not
> quite such a surprise that LFS uses it...

LFS doesn't...

--
David A. Holland
dhol...@netbsd.org

0 new messages