From: "Darrick J. Wong" <djwong@kernel.org>
To: Carlos Maiolino <cmaiolino@redhat.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH V2] Add dax mount option to man xfs(5)
Date: Tue, 6 Apr 2021 06:57:56 -0700 [thread overview]
Message-ID: <20210406135756.GG3957620@magnolia> (raw)
In-Reply-To: <20210406115613.19211-1-cmaiolino@redhat.com>
On Tue, Apr 06, 2021 at 01:56:12PM +0200, 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>
Yay!
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
--D
> ---
>
> Changelog:
> V2:
> - Add changes suggested by Darrick on his review.
>
> man/man5/xfs.5 | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/man/man5/xfs.5 b/man/man5/xfs.5
> index 7642662f..372dc08a 100644
> --- a/man/man5/xfs.5
> +++ b/man/man5/xfs.5
> @@ -133,6 +133,23 @@ 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 CPU direct access (DAX) behavior for the current filesystem. This mount
> +option accepts the following values:
> +
> +"dax=inode" DAX will be enabled only on regular files with FS_XFLAG_DAX applied.
> +
> +"dax=never" DAX will not be enabled for any files. FS_XFLAG_DAX will be ignored.
> +
> +"dax=always" DAX will be enabled for all regular files, regardless of the
> +FS_XFLAG_DAX state.
> +
> +If no option is used when mounting a filesystem stored on a DAX capable device,
> +dax=inode will be used as default.
> +
> +For details regarding DAX behavior in kernel, please refer to kernel's
> +documentation at filesystems/dax.txt
> +.TP
> .BR discard | nodiscard
> Enable/disable the issuing of commands to let the block
> device reclaim space freed by the filesystem. This is
> --
> 2.30.2
>
prev parent reply other threads:[~2021-04-06 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 11:56 [PATCH V2] Add dax mount option to man xfs(5) Carlos Maiolino
2021-04-06 13:57 ` Darrick J. Wong [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=20210406135756.GG3957620@magnolia \
--to=djwong@kernel.org \
--cc=cmaiolino@redhat.com \
--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;
as well as URLs for NNTP newsgroup(s).