mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: use _require_xfs_io_command() directly to check fiemap
1) _require_fiemap and _require_xfs_io_command "fiemap" do the same thing, but some test cases use the former and some use the latter, so i feel they should be unified. 2) The number of helpers like this is slowly growing, but it's easy to simply use _require_xfs_io_command directly and just specify the command we want to check. This is just a cleanup for keeping it simple. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_odirect
|
||||
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_xfs_io_command "funshare"
|
||||
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_xfs_io_command "funshare"
|
||||
_require_odirect
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_odirect
|
||||
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_xfs_io_command "funshare"
|
||||
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_xfs_io_command "funshare"
|
||||
_require_odirect
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_odirect
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_quota
|
||||
_require_nobody
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_quota
|
||||
_require_nobody
|
||||
_require_xfs_io_command "cowextsize"
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ _supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
|
||||
old_cow_lifetime=$(cat /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime)
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ _supported_fs xfs
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
|
||||
old_cow_lifetime=$(cat /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime)
|
||||
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_xfs_io_command "funshare"
|
||||
_require_odirect
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_scratch_reflink
|
||||
_require_cp_reflink
|
||||
_require_fiemap
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "cowextsize"
|
||||
_require_xfs_io_command "funshare"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user