generic: Verify how to change the S_DAX flag on an existing file
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Thu, 6 Aug 2020 02:13:42 +0000 (10:13 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 9 Aug 2020 17:08:26 +0000 (01:08 +0800)
commit59d1f998fd61446765f531ba074663fc20166c9d
tree891c9fbe75ce581d1aca6e3cf8fcc0f1e03f1024
parent76cfca6472ad0494a582ab428cfcab8a1b4582ff
generic: Verify how to change the S_DAX flag on an existing file

Change FS_XFLAG_DAX on an existing file and check if S_DAX on the
file can take effect immediately by the following steps:
1) Stop all applications which are using the file.
2) Do drop_caches or umount & mount cycle.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/608 [new file with mode: 0755]
tests/generic/608.out [new file with mode: 0644]
tests/generic/group