From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 552BFC47077 for ; Mon, 15 Jan 2024 00:13:36 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 616E73CE38F for ; Mon, 15 Jan 2024 01:13:34 +0100 (CET) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 017633CCE0A for ; Mon, 15 Jan 2024 01:13:18 +0100 (CET) Authentication-Results: in-6.smtp.seeweb.it; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=145.40.68.75; helo=ams.source.kernel.org; envelope-from=dlemoal@kernel.org; receiver=lists.linux.it) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id C5DE9140043E for ; Mon, 15 Jan 2024 01:13:17 +0100 (CET) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 17EE8B8013C; Mon, 15 Jan 2024 00:13:16 +0000 (UTC) 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 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Naresh Kamboju References: <11a31e09-2e11-43a4-8995-ae70c5bef8bf@kernel.org> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: X-Virus-Scanned: clamav-milter 1.0.3 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] scsi: block: ioprio: Clean up interface definition - ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jens Axboe , Niklas Cassel , Linux Regressions , "Martin K. Petersen" , open list , lkft-triage@lists.linaro.org, linux-block , Dan Carpenter , Christoph Hellwig , LTP List , Hannes Reinecke Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" 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 -- Mailing list info: https://lists.linux.it/listinfo/ltp