Re: what happened to page_mkwrite? - was: Re: page_mkwrite seemsbroken
From: Anton Altaparmakov
Date: Mon Oct 24 2005 - 10:44:28 EST
On Mon, 2005-10-24 at 16:26 +0100, David Howells wrote:
> Anton Altaparmakov <aia21@xxxxxxxxx> wrote:
>
> > What happened with page_mkwrite? It seems to have disappeared both from
> > -mm and generally from the face of the earth...
>
> It got taken out because no one was using it (CacheFS has been removed
> temorarily).
>
> I'm still attempting to maintain it. If you want I can post it to Andrew again
> to see if he'll take it back. If you want a direct copy, I'll have to extract
> it from CacheFS.
I don't really mind either way. I am stuck with ntfs at the moment at
the point where I am either going to use my own ->nopage handler to
allocate on-disk clusters or have a ->page_mkwrite handler do it. The
former is not nice as it means we allocate space even when only reading
whilst the later is very nice as it only triggers when someone actually
does an mmapped write.
So whatever works best for you. I am happy with it appearing in -mm and
I am also happy with having my own copy in my ntfs development tree for
now. Given we both want it and High said he wanted it, too, it may be
the more sensible approach to have it in -mm so we have one common code
base to work with/apply fixes to/whatever... Otherwise we may get
headaches down the line if we end up with diverging implementations of
the same thing and all try to merge ours into the kernel...
Btw. have you addressed the problems Hugh pointed out with it? If not,
-mm would perhaps be a good place for us to get it sorted?
Andrew, would you be happy to take the ->page_mkwrite patches again into
-mm? I promise you a user of it to appear in -mm as soon as I can knock
up the ntfs code for it once I have seen the exact interface I am coding
for...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/