Re: [PATCH v3 00/12] Enable per-file/directory DAX operations V3

From: Jeff Moyer
Date: Wed Feb 12 2020 - 14:49:57 EST


Ira Weiny <ira.weiny@xxxxxxxxx> writes:

> On Mon, Feb 10, 2020 at 10:15:47AM -0500, Jeff Moyer wrote:
>> Hi, Ira,
>>
>> Could you please include documentation patches as part of this series?
>
> I do have an update to the vfs.rst doc in
>
> fs: Add locking for a dynamic DAX state
>
> I'm happy to do more but was there something specific you would like to see?
> Or documentation in xfs perhaps?

Sorry, I was referring to your statx man page addition. It would be
nice if we could find a home for the information in your cover letter,
too. Right now, I'm not sure how application developers are supposed to
figure out how to use the per-inode settings.

If I read your cover letter correctly, the mount option overrides any
on-disk setting. Is that right? Given that we document the dax mount
option as "the way to get dax," it may be a good idea to allow for a
user to selectively disable dax, even when -o dax is specified. Is that
possible?

-Jeff