Re: [PATCH] generic/420: skip test for ocfs2

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Mon, Jan 06, 2025 at 10:01:31PM +0800, Su Yue wrote:
> ocfs2 doesn't support fallocate with
> mode=FALLOC_FL_KEEP_SIZE|FALLOC_FL_PUNCH_HOLE so skip it.
> 
> Signed-off-by: Su Yue <glass.su@xxxxxxxx>
> ---
>  tests/generic/420 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/generic/420 b/tests/generic/420
> index edd9655fd3a3..e67442f8979b 100755
> --- a/tests/generic/420
> +++ b/tests/generic/420
> @@ -15,6 +15,7 @@ _begin_fstest auto quick punch
>  
>  
>  # Modify as appropriate.
> +_supported_fs ^ocfs2
>  _require_test
>  _require_xfs_io_command fpunch

_require_xfs_io_command should be checking for hole punch
support.  If that doesn't work we'll need to fix it instead
of throwing in undocumented blacklisting of file system types.




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux