aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2020-05-04 09:02:42 -0700
committerDarrick J. Wong <[email protected]>2020-05-04 09:03:43 -0700
commit32dbc5655f1ccb3bffa5785523146f60fa4bf905 (patch)
treed39349e49c8a869fc61a8cc3e37543ce218b1961 /tools/perf/scripts/python
parent8d6c3446ec23ecd97bc089ed224342baf9426c30 (diff)
fs/xfs: Create function xfs_inode_should_enable_dax()
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: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions