From: Christoph Hellwig [mailto:email@example.com]
On Fri, Sep 09, 2016 at 03:34:43PM -0700, Dan Williams wrote:
> I agree with you that continuing to touch ext2 is not a good idea, but
> I'm not yet convinced that now is the time to go do dax-2.0 when we
> haven't finished shipping dax-1.0.
I've mentioned this before, but I'd like to repeat it. With all the work
in the file system I would prefer to drop DAX support in ext2 (and if people
really cry for it reinstate the trivial old xip support).
That allegedly trivial old xip support was horrendously broken. And, er, it used an aop
which you seem implacably opposed to in your earlier email. And that was truly a
disgusting one from a layering point of view. Let me remind you:
- int (*get_xip_mem)(struct address_space *, pgoff_t, int,
- void **, unsigned long *);
That void ** was an 'out' parameter to store a kernel address for the memory.
unsigned long * was also an 'out' parameter to store the PFN for the memory. The
'int' was actually a Boolean for whether to create or not, but you'd actually
go look at the implementation to find that out; the documentation never said it. A
real dog's breakfast of an API.