Re: [PATCH v8 1/1] f2fs: dax: implement direct access

From: Dan Williams
Date: Tue Jul 25 2017 - 20:15:18 EST


[ adding linux-nvdimm ]

On Thu, Jul 20, 2017 at 5:10 AM, sunqiuyang <sunqiuyang@xxxxxxxxxx> wrote:
> From: Qiuyang Sun <sunqiuyang@xxxxxxxxxx>
>
> This patch implements Direct Access (DAX) in F2FS, including:
> - a mount option to choose whether to enable DAX or not

We're in the process of walking back and potentially deprecating the
use of the dax mount option for xfs and ext4 since dax can have
negative performance implications if page cache memory happens to be
faster than pmem. It should be limited to applications that
specifically want the semantic, not globally enabled for the entire
mount. xfs has went ahead and added the XFS_DIFLAG2_DAX indoe flag for
per-inode enabling of dax.

I'm wondering if any new filesystem that adds dax support at this
point should do so with inode flags and not a mount option?