Thread (28 messages) read the whole thread 28 messages, 4 authors, 2020-04-24

Re: [PATCH V10 07/11] fs/xfs: Create function xfs_inode_should_enable_dax()

From: Dave Chinner <david@fromorbit.com>
Date: 2020-04-23 22:36:26
Also in: linux-ext4, linux-fsdevel, linux-xfs, lkml

On Wed, Apr 22, 2020 at 02:20:58PM -0700, ira.weiny@intel.com wrote:
From: Ira Weiny <redacted>

xfs_inode_supports_dax() should reflect if the inode can support DAX not
that it is enabled for DAX.

Change the use of xfs_inode_supports_dax() to reflect only if the inode
and underlying storage support dax.

Add a new function xfs_inode_should_enable_dax() which reflects if the
inode should be enabled for DAX.

Reviewed-by: Darrick J. Wong <redacted>
Signed-off-by: Ira Weiny <redacted>
Looks fine.

Reviewed-by: Dave Chinner <redacted>
-- 
Dave Chinner
david@fromorbit.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help