xfs
[Top] [All Lists]

Re: [PATCH 2/2] dax: move writeback calls into the filesystems

To: Jeff Moyer <jmoyer@xxxxxxxxxx>
Subject: Re: [PATCH 2/2] dax: move writeback calls into the filesystems
From: Dan Williams <dan.j.williams@xxxxxxxxx>
Date: Mon, 8 Feb 2016 14:05:34 -0800
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "Theodore Ts'o" <tytso@xxxxxxx>, Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>, Andreas Dilger <adilger.kernel@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Jan Kara <jack@xxxxxxxx>, Matthew Wilcox <willy@xxxxxxxxxxxxxxx>, linux-ext4 <linux-ext4@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Linux MM <linux-mm@xxxxxxxxx>, "linux-nvdimm@xxxxxxxxxxxx" <linux-nvdimm@xxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+wrSO1vC6NIO24bHlSSDK5oEHOt29uLb2p3VKU5SLHs=; b=qzvGcEwyvO2a/66oUCnlKFxo/Acb+QNeDynSqIGX1xN0Eci04gz8XcdIhzrlmJOXum WxfMo5lIYB1+vaEUQWSUx9XlYsfRs0WjQKPYxBojTXzhnK/jPcQQLnQt3b+F2SwiVxIY X6smBafmExXP7VJ7ZzMaY/qn+Q7Wi3WyRZiivat5gi7jxHRwkI+1aLhDaZIHmMUm6oM+ DFpFCrKu5uDMFrQ6iVg9S8zf/kfLK+0AjZjsgFyAxvoosVexA+ImhsDiWzH9pLeQjOej pzIJO5wwJdZ79fmiAC/XznFt2K2pEKMJ7sv9TH/bmR29ToXeXSo961hImihofuW2aRaF ssTA==
In-reply-to: <x49vb5yvrzv.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <1454829553-29499-1-git-send-email-ross.zwisler@xxxxxxxxxxxxxxx> <1454829553-29499-3-git-send-email-ross.zwisler@xxxxxxxxxxxxxxx> <CAPcyv4jT=yAb2_yLfMGqV1SdbQwoWQj7joroeJGAJAcjsMY_oQ@xxxxxxxxxxxxxx> <20160207215047.GJ31407@dastard> <CAPcyv4jNmdm-ATTBaLLLzBT+RXJ0YrxxXLYZ=T7xUgEJ8PaSKw@xxxxxxxxxxxxxx> <20160208201808.GK27429@dastard> <CAPcyv4iHi17pv_VC=WgEP4_GgN9OvSr8xbw1bvbEFMiQ83GbWw@xxxxxxxxxxxxxx> <x49vb5yvrzv.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Mon, Feb 8, 2016 at 12:58 PM, Jeff Moyer <jmoyer@xxxxxxxxxx> wrote:
> Dan Williams <dan.j.williams@xxxxxxxxx> writes:
>
>> I agree the mount option needs to die, and I fully grok the reasoning.
>>   What I'm concerned with is that a system using fully-DAX-aware
>> applications is forced to incur the overhead of maintaining *sync
>> semantics, periodic sync(2) in particular,  even if it is not relying
>> on those semantics.
>>
>> However, like I said in my other mail, we can solve that with
>> alternate interfaces to persistent memory if that becomes an issue and
>> not require that "disable *sync" capability to come through DAX.
>
> What do you envision these alternate interfaces looking like?

Well, plan-A was making DAX be explicit opt-in for applications, I
haven't thought too much about plan-B.  I expect it to be driven by
real performance numbers and application use cases once the *sync
compat work completes.

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