Linux block layer
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Nilay Shroff <nilay@linux.ibm.com>
Cc: linux-block@vger.kernel.org, shinichiro.kawasaki@wdc.com,
	gjoyce@linux.ibm.com
Subject: Re: [PATCH blktests] loop/011: skip if running on kernel older than v6.10
Date: Wed, 31 Jul 2024 13:23:00 +0200	[thread overview]
Message-ID: <ZqoelLy4Wp33YAGD@yuki> (raw)
In-Reply-To: <20240731111804.1161524-1-nilay@linux.ibm.com>

Hi!
> The loop/011 is regression test for kernel commit 5f75e081ab5c ("loop: 
> Disable fallocate() zero and discard if not supported") which requires 
> minimum kernel version 6.10. So running this test on kernel version
> older than v6.10 would FAIL. This patch ensures that we skip running 
> loop/011 if kernel version is older than v6.10.

The patch has been backported to 6.9 stable as well.

> Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
> ---
>  tests/loop/011 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/loop/011 b/tests/loop/011
> index 35eb39b..b674dd7 100755
> --- a/tests/loop/011
> +++ b/tests/loop/011
> @@ -9,6 +9,7 @@
>  DESCRIPTION="Make sure unsupported backing file fallocate does not fill dmesg with errors"
>  
>  requires() {
> +	_have_kver 6 10
>  	_have_program mkfs.ext2
>  }
>  
> -- 
> 2.45.2
> 

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2024-07-31 11:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 11:17 [PATCH blktests] loop/011: skip if running on kernel older than v6.10 Nilay Shroff
2024-07-31 11:23 ` Cyril Hrubis [this message]
2024-07-31 12:01   ` Shinichiro Kawasaki
2024-07-31 12:41     ` Nilay Shroff
2024-07-31 12:46       ` Cyril Hrubis
2024-07-31 13:59         ` Nilay Shroff
2024-08-01  6:27           ` Shinichiro Kawasaki
2024-08-01  9:12             ` Nilay Shroff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZqoelLy4Wp33YAGD@yuki \
    --to=chrubis@suse.cz \
    --cc=gjoyce@linux.ibm.com \
    --cc=linux-block@vger.kernel.org \
    --cc=nilay@linux.ibm.com \
    --cc=shinichiro.kawasaki@wdc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox