diff mbox series

generic/733: use correct kernel commit id

Message ID 20231204113428.68071-1-xuyang2018.jy@fujitsu.com (mailing list archive)
State New, archived
Headers show
Series generic/733: use correct kernel commit id | expand

Commit Message

Yang Xu (Fujitsu) Dec. 4, 2023, 11:34 a.m. UTC
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 tests/generic/733 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Zorro Lang Dec. 4, 2023, 2:06 p.m. UTC | #1
On Mon, Dec 04, 2023 at 06:34:28AM -0500, Yang Xu wrote:
> Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
> ---
>  tests/generic/733 | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/generic/733 b/tests/generic/733
> index ca4dd519..d88d92a4 100755
> --- a/tests/generic/733
> +++ b/tests/generic/733
> @@ -6,7 +6,7 @@
>  #
>  # Race file reads with a very slow reflink operation to see if the reads
>  # actually complete while the reflink is ongoing.  This is a functionality
> -# test for XFS commit f3ba4762fa56 "xfs: allow read IO and FICLONE to run
> +# test for XFS commit 14a537983b22 "xfs: allow read IO and FICLONE to run
>  # concurrently".
>  #
>  . ./common/preamble
> @@ -26,6 +26,9 @@ _require_test_program "punch-alternating"
>  _require_test_program "t_reflink_read_race"
>  _require_command "$TIMEOUT_PROG" timeout
>  
> +[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 14a537983b22 \
> +        "xfs: allow read IO and FICLONE to run concurrently"
> +

Makes sense to me,
Reviewed-by: Zorro Lang <zlang@redhat.com>

>  rm -f "$seqres.full"
>  
>  echo "Format and mount"
> -- 
> 2.27.0
> 
>
diff mbox series

Patch

diff --git a/tests/generic/733 b/tests/generic/733
index ca4dd519..d88d92a4 100755
--- a/tests/generic/733
+++ b/tests/generic/733
@@ -6,7 +6,7 @@ 
 #
 # Race file reads with a very slow reflink operation to see if the reads
 # actually complete while the reflink is ongoing.  This is a functionality
-# test for XFS commit f3ba4762fa56 "xfs: allow read IO and FICLONE to run
+# test for XFS commit 14a537983b22 "xfs: allow read IO and FICLONE to run
 # concurrently".
 #
 . ./common/preamble
@@ -26,6 +26,9 @@  _require_test_program "punch-alternating"
 _require_test_program "t_reflink_read_race"
 _require_command "$TIMEOUT_PROG" timeout
 
+[ "$FSTYP" = "xfs" ] && _fixed_by_kernel_commit 14a537983b22 \
+        "xfs: allow read IO and FICLONE to run concurrently"
+
 rm -f "$seqres.full"
 
 echo "Format and mount"