From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92C5E15A5; Mon, 15 Jan 2024 00:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hlwrgbtr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 520D1C433F1; Mon, 15 Jan 2024 00:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705277595; bh=9d8JNOymYGZ3/p+9qqiDWzbARwPOR0ThFsLa+omTDVE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=HlwrgbtrQaMjHk6Rl1IBwvE+2sWuIYEn5he/RDz7dSWZhfu/UENTUW929466EuROU ior5hw4k52TxL8Vd87EW5a2iJgmNEZyPJjUeJDXTntdTbsmyE7/SdwiV9EIAoWldtM joQIkSN5rhwPYMbpNAK3l2gctjvZ8darjJfrPCu6ArKul1KdEfX0EljfJHR0GcDq8I uJ5sgUQkwp4kyuYVEfe5WbAbcBCxmlvvQ8OjSovamjWsXmvTtmOD1lEoXGgTETRAHf JWgsmDt9yubJJ1Y8LE/OL8dmm5WIdxR8Lpz2+GgASw13adcD8MlMMS4Jgj7HCSAQDl MmaVWl/5A75dQ== Message-ID: Date: Mon, 15 Jan 2024 09:13:11 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: scsi: block: ioprio: Clean up interface definition - ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work Content-Language: en-US To: Naresh Kamboju Cc: linux-block , LTP List , Linux Regressions , lkft-triage@lists.linaro.org, open list , Anders Roxell , Dan Carpenter , chrubis , Petr Vorel , Hannes Reinecke , Christoph Hellwig , Niklas Cassel , "Martin K. Petersen" , Jens Axboe References: <11a31e09-2e11-43a4-8995-ae70c5bef8bf@kernel.org> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/13/24 16:05, Naresh Kamboju wrote: > On Fri, 12 Jan 2024 at 10:49, Damien Le Moal wrote: >> >> On 1/12/24 14:15, Naresh Kamboju wrote: >>> The LTP test 'iopri_set03' fails on all the devices. >>> It fails on linux kernel >= v6.5. ( on Debian rootfs ). >>> Test fail confirmed on LTP release 20230929 and 20230516. >>> >>> Test failed log: >>> ------------ >>> tst_test.c:1690: TINFO: LTP version: 20230929 >>> tst_test.c:1574: TINFO: Timeout per run is 0h 05m 00s >>> ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work >>> ioprio_set03.c:48: TINFO: tested illegal priority with class NONE >>> ioprio_set03.c:51: TPASS: returned correct error for wrong prio: EINVAL (22) >>> >>> Investigation: >>> ---------- >>> Bisecting this test between kernel v6.4 and v6.5 shows patch >>> eca2040972b4 ("scsi: block: ioprio: Clean up interface definition") >>> as the first faulty commit. >>> >>> Reported-by: Linux Kernel Functional Testing >> >> This is fixed in LTP. Please update your LTP setup to avoid this issue. > > Please point me to the fixed commit id. git log --author="Damien Le Moal" And of course you need to make sure that you are compiling LTP against the kernel headers of the target test kernel. -- Damien Le Moal Western Digital Research