public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Carlos Maiolino <cmaiolino@redhat.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH] Add dax mount option to man xfs(5)
Date: Tue, 6 Apr 2021 13:44:02 +0200	[thread overview]
Message-ID: <20210406114402.yif2onaailmwkfmo@andromeda.lan> (raw)
In-Reply-To: <20210401153333.GD4090233@magnolia>

On Thu, Apr 01, 2021 at 08:33:33AM -0700, Darrick J. Wong wrote:
> On Mon, Mar 15, 2021 at 04:02:50PM +0100, Carlos Maiolino wrote:
> > Details are already in kernel's documentation, but make dax mount option
> > information accessible through xfs(5) manpage.
> > 
> > Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
> > ---
> >  man/man5/xfs.5 | 18 ++++++++++++++++++
> >  1 file changed, 18 insertions(+)
> > 
> > diff --git a/man/man5/xfs.5 b/man/man5/xfs.5
> > index 7642662f..46b0558a 100644
> > --- a/man/man5/xfs.5
> > +++ b/man/man5/xfs.5
> > @@ -133,6 +133,24 @@ by the filesystem.
> >  CRC enabled filesystems always use the attr2 format, and so
> >  will reject the noattr2 mount option if it is set.
> >  .TP
> > +.BR dax=value
> > +Set DAX behavior for the current filesystem. This mount option accepts the
> 
> It might be worth defining what DAX (the acronym) is...
> 
> "Set CPU direct access (DAX) behavior for regular files in the
> filesystem."
> 
> > +following values:
> > +
> > +"dax=inode" DAX will be enabled only on files with FS_XFLAG_DAX applied.
> 
> "...enabled on regular files..."
> 
> > +
> > +"dax=never" DAX will be disabled by the whole filesystem including files with
> > +FS_XFLAG_DAX applied"
> 
> "DAX will not be enabled for any files.  FS_XFLAG_DAX will be ignored."
> 
> > +
> > +"dax=always" DAX will be enabled to every file in the filesystem inclduing files
> 
> "DAX will be enabled for all regular files, regardless of the
> FS_XFLAG_DAX state."
> 
> > +without FS_XFLAG_DAX applied"
> > +
> > +If no option is used when mounting a pmem device, dax=inode will be used as
> 
> "If no option is used when mounting a filesystem stored on a device
> capable of DAX access modes, dax=inode...."
> 
> (DAX is a possibility with more than just persistent memory now...)
> 

Thanks for the review Darrick. All the changes make sense to me, I'll apply them
and send a V2.

Cheers.

-- 
Carlos


      reply	other threads:[~2021-04-06 11:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 15:02 [PATCH] Add dax mount option to man xfs(5) Carlos Maiolino
2021-04-01 10:40 ` Carlos Maiolino
2021-04-01 15:33 ` Darrick J. Wong
2021-04-06 11:44   ` Carlos Maiolino [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210406114402.yif2onaailmwkfmo@andromeda.lan \
    --to=cmaiolino@redhat.com \
    --cc=djwong@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox