Thread (1 message) 1 message, 1 author, 2021-10-27

Re: [PATCH 06/11] xfs: factor out a xfs_setup_dax helper

flat view

From: Dan Williams <hidden>
Date: 2021-10-27 23:37:14
Also in: dm-devel, linux-fsdevel, linux-s390, linux-xfs, nvdimm, virtualization

On Tue, Oct 19, 2021 at 12:24 AM Christoph Hellwig [off-list ref] wrote:
On Mon, Oct 18, 2021 at 09:43:51AM -0700, Darrick J. Wong wrote:
quoted
quoted
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -339,6 +339,32 @@ xfs_buftarg_is_dax(
                    bdev_nr_sectors(bt->bt_bdev));
 }

+static int
+xfs_setup_dax(
/me wonders if this should be named xfs_setup_dax_always, since this
doesn't handle the dax=inode mode?
Sure, why not.
I went ahead and made that change locally.
quoted
The only reason I bring that up is that Eric reminded me a while ago
that we don't actually print any kind of EXPERIMENTAL warning for the
auto-detection behavior.
Yes, I actually noticed that as well when preparing this series.
The rest looks good to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help