Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp259688rdb; Sun, 14 Jan 2024 16:13:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmTBvA3pZ9jkyMTQXnL+GVy4fsrbT5bRzl5dBq2cLBLkEA2761TmHF+ZbEhZKVHIdDlX9D X-Received: by 2002:a17:90b:8d6:b0:28b:c742:fd64 with SMTP id ds22-20020a17090b08d600b0028bc742fd64mr3009456pjb.72.1705277601533; Sun, 14 Jan 2024 16:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705277601; cv=none; d=google.com; s=arc-20160816; b=v6EbYi9KlcBo4imR1ibn2+FC4sW/xZmdY87qpeJEEvMBoMNJ/NijWapuh/SgQ1+CUv jydWBk3SiVGJLhJ8O1Y1eLeKSJ1W4aDR0+1/rRD5ZwxYVX7q0SOddy2dmnAjYoN6cUae SqIdkTjVRx/7B8l3Q0TfsiaBx4ra345Zqc9BbYqP72GX2pHJDtIVaz4jiWhw4G+D8YRu io4Erpb60ubnz/CPKeKClDiJP+Xc5BP4S5u+5j153dU7tfDWHUpquVOpJ2QpnowSsPlL drhU98Gt7KmghilWLGzycql5p56zLxHtqDs3O4+vNCtpMw+N5dK3om7KurIpYW/62Frt JOjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=E65233X/2hi7AWBCD+oR0SxwkU3CyETIRmgp7/erD0U=; fh=wt739Qbes4bnGjAKZm+BxER6upnuo93ZnT8xLgnmyTg=; b=DP9rzNDpIg/DHQupUdCLxA6AtCp0BwZkrY0lJna83kUdhqmS0dwfCoJUP2dGDmJyAK j0bN+RtAOnKCAle5AIvLnIWmDcP0k4q5SCtolHjsYFzkPShhZeckiIEFMv+e7B+n0Hvk 5EaDHOkJqGUfpVb774qK6kFp3li9uspO9/eeMj3X6Gw50YrHV9Rz++vCAZLKgRKqXW0p NALma7aB9qmZYuHPvWPQ95Vzc6DsU0z80UnYUzS6I81Gp8JcWU9bFHnYuAGUFVw9P15z iZPXp5w7FCwh8oGRB8QJLTe0Tv3yF2T4bJq2i9wDR6idx8wYfWbaTOskoycPp1s776dO cakg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hlwrgbtr; spf=pass (google.com: domain of linux-kernel+bounces-25561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25561-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c2-20020a17090a020200b0028d1dd398acsi10260408pjc.92.2024.01.14.16.13.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 16:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hlwrgbtr; spf=pass (google.com: domain of linux-kernel+bounces-25561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25561-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4DEC42816BA for ; Mon, 15 Jan 2024 00:13:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79B5B17D2; Mon, 15 Jan 2024 00:13:16 +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: 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) 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