Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1696839

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

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v8 1/1] f2fs: dax: implement direct access
Date 2017-07-26 09:30 +0200
Message-ID <u7oVA-5L0-3@gated-at.bofh.it> (permalink)
References <u5irg-79y-25@gated-at.bofh.it> <u7idr-1t6-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 25, 2017 at 05:15:10PM -0700, Dan Williams wrote:
> 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?

That tradeoff is not one that the application should make, but one that
should depend on the storage medium.  To make things worse it might also
depend on the type of access.  E.g. with certain media it makes a lot of
sense to cache writes in the page cache, but generally not reads.
I've been spending some time to analyze how that could be done, but
I've not made real progress on it.

XFS_DIFLAG2_DAX is unfortunately totally unhelpful with that.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 1/1] f2fs: dax: implement direct access sunqiuyang <sunqiuyang@huawei.com> - 2017-07-20 14:10 +0200
  Re: [PATCH v8 1/1] f2fs: dax: implement direct access Jaegeuk Kim <jaegeuk@kernel.org> - 2017-07-22 02:40 +0200
    Re: [PATCH v8 1/1] f2fs: dax: implement direct access Sun Qiuyang <sunqiuyang@huawei.com> - 2017-07-24 14:10 +0200
  Re: [PATCH v8 1/1] f2fs: dax: implement direct access Dan Williams <dan.j.williams@gmail.com> - 2017-07-26 02:20 +0200
    Re: [PATCH v8 1/1] f2fs: dax: implement direct access Jaegeuk Kim <jaegeuk@kernel.org> - 2017-07-26 04:20 +0200
      RE: [PATCH v8 1/1] f2fs: dax: implement direct access sunqiuyang <sunqiuyang@huawei.com> - 2017-07-26 08:50 +0200
    Re: [PATCH v8 1/1] f2fs: dax: implement direct access Christoph Hellwig <hch@infradead.org> - 2017-07-26 09:30 +0200
      Re: [PATCH v8 1/1] f2fs: dax: implement direct access Dan Williams <dan.j.williams@intel.com> - 2017-07-26 19:00 +0200
        Re: [PATCH v8 1/1] f2fs: dax: implement direct access Christoph Hellwig <hch@infradead.org> - 2017-07-26 19:10 +0200
          Re: [PATCH v8 1/1] f2fs: dax: implement direct access Dan Williams <dan.j.williams@intel.com> - 2017-07-26 19:20 +0200
            Re: [PATCH v8 1/1] f2fs: dax: implement direct access Christoph Hellwig <hch@infradead.org> - 2017-07-26 19:30 +0200
              Re: [PATCH v8 1/1] f2fs: dax: implement direct access Dan Williams <dan.j.williams@intel.com> - 2017-07-26 21:20 +0200
                Re: [PATCH v8 1/1] f2fs: dax: implement direct access Christoph Hellwig <hch@infradead.org> - 2017-07-26 22:20 +0200
                Re: [PATCH v8 1/1] f2fs: dax: implement direct access Dan Williams <dan.j.williams@intel.com> - 2017-07-26 22:30 +0200

csiph-web