xfs
[Top] [All Lists]

Re: [PATCH v2 2/3] mm, dax: add VM_DAX flag for DAX VMAs

To: Dan Williams <dan.j.williams@xxxxxxxxx>
Subject: Re: [PATCH v2 2/3] mm, dax: add VM_DAX flag for DAX VMAs
From: Christoph Hellwig <hch@xxxxxx>
Date: Thu, 15 Sep 2016 10:26:15 +0200
Cc: linux-mm@xxxxxxxxx, linux-nvdimm@xxxxxxxxxxxx, david@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, npiggin@xxxxxxxxx, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, hch@xxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <147392247875.9873.4205533916442000884.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <147392246509.9873.17750323049785100997.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <147392247875.9873.4205533916442000884.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.17 (2007-11-01)
On Wed, Sep 14, 2016 at 11:54:38PM -0700, Dan Williams wrote:
> The DAX property, page cache bypass, of a VMA is only detectable via the
> vma_is_dax() helper to check the S_DAX inode flag.  However, this is
> only available internal to the kernel and is a property that userspace
> applications would like to interrogate.

They have absolutely no business knowing such an implementation detail.

<Prev in Thread] Current Thread [Next in Thread>