Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1998338rdb; Wed, 31 Jan 2024 16:23:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+jlKFnCXzgGxLFJ0MpkaEHVMXYdzojAH5SHNTD69i4/A5W8ix2JlE9rj+d1a98R46ECwH X-Received: by 2002:a9d:7b4c:0:b0:6e0:c031:6814 with SMTP id f12-20020a9d7b4c000000b006e0c0316814mr3085618oto.10.1706747005171; Wed, 31 Jan 2024 16:23:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706747005; cv=pass; d=google.com; s=arc-20160816; b=M6TOtvJW8C1cxxTSZh5szHg/x2VqtpXyfBbesSbpggP3rcA8XY4SommJ/rLPdkghYs GXMZ7Iy1qcyHXYnIYyEuPZ650n1hp5xXqezfSlPuIvdkZZQcRjtxtoSpNH4Qug9R/JQB Eet2bf+DJtEH/ELmByOgSpWSaFjERJPj7qAWVqwYmumVObqiNFQyNGflggickwKvY/DV jqfCrqJRQoSE0lzjtX3PKZN+diLOGg89n2PP58+9ml5CDu4hD6w3Tl/fvOUJ6Omaveyz cP/rb25/xpgahutv6kXoeK9j4ElIyuA+XA/9HHvgKXrXMK79Ig5IMK3UluSDzwj49xfm yczw== ARC-Message-Signature: i=2; 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=HwFMZsr8rBDRBlBUmyzgRnhoMi1/OsFnRtABW42RW1g=; fh=2PKfxbRQJCkNUAMVmZqXjJfEHQ5QRXVEEL719TlIs28=; b=LCoyGlR8sQPXvdoNT1Cg7LmlNZDfFRHdA571IN+YbULpvQUNcH/o+mvquKoWgEjGP0 JeO4syZAjCDFdfIr0HagCZuFS0N3qLU1ws3AsJ2GTIwBr7Y7eJhxo31Ls8p/O3mcVXFv W95GQ/6ZI08Ic8KOlkEOisMTxgDPovg2DNcPLUnh0lr9LM7Gr9DgZXb+zZvNR5tDPh1q exwB/uGFfvGzKFdm2xsL56Wa3WLpJr+IGA65dzeDOV1qZM3J9rQ17o4Hx6EhfPqOZO/w tyhNjF/Tg22OGacP44Ose5WLHYCEXPUtVBJ1bXGqaqsGpxT7Pq/Ckma4IIcHDWhkXHlD bI4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5hG0CSS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47404-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47404-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVBdSQbjzydGYKXSsVc5fFWCd4dEQ9egMrbA6ZZo8//iJklshlx3ubzh7r4LxhgfKpfL1seGo5u77dy5He9zgM6BlN+Xc0XodcwxNGI0w== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u24-20020a63b558000000b005d96d182c41si4418984pgo.490.2024.01.31.16.23.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 16:23:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47404-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5hG0CSS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47404-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47404-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8BBF1B25B72 for ; Wed, 31 Jan 2024 23:59:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39ADD3B195; Wed, 31 Jan 2024 23:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m5hG0CSS" 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 5BE983A8DA; Wed, 31 Jan 2024 23:59:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706745580; cv=none; b=lV3yVKgZiAooncIt/GgnlTZzH2kZkJHaRulWDKT15Au7uXwRWIpgGplfxfNvzSsoHmVxt1gZvqRjdlW3UyuN3VRqU2e9Y9ZBVrEDksQi1XPv0HPo2nKubpwHA0fuJoSl+Q2Db6FEZ8xkkmCHd8oZ8oNz2MhnhrtWevbmolM9FJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706745580; c=relaxed/simple; bh=BqQioyDl6ZFsyJQQi44W0KmQtj2xwsLFchj24A3uE2U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Kn/2feCEndWtbEVmyez7NWV73k93BmxTHV6pmWQwnyFdQpGDYKhbohTtfh0Ma+z+dRnlhsC+LricpLLHMep9i+vceIhD70V2Icb9yMmTxhzlacjaX3dysXrtIt6HNnvB2zQprL3ECu5MuUlfAE4pCH/6su1b1gV8hKW/ws0kgZk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m5hG0CSS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12311C43390; Wed, 31 Jan 2024 23:59:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706745579; bh=BqQioyDl6ZFsyJQQi44W0KmQtj2xwsLFchj24A3uE2U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=m5hG0CSSZS9PDVuqao99NoSzc8nXYfQ4NLyoPNJZk1VCfY09xGnTRbHuZPcptd3i/ lJWj8PGLo+7/NJuM25NJTxTSjRgUB+iwHko4ZoTbM4NMYOXnXjjKSxA4ylk54g60tu ZIPHcC2nT/RZhrgDaluBdwt28J2Kh1IsokptEDNOZRbfjsp+Xfh+8wdHYTMAjm0mQO dfLqIZQ0OYKphA5odW5GmtEx20atfN5AOZv06/5LGiR5hRmFJPAtCNyJWnty/F6g81 vSqU+qNBXbnvz1l/c9IGoirSy+qgKz+KQYAaF+9bi7vl8WyxyplOaxgZ6k53s2ED76 OqpgEAU6IgUMg== Message-ID: <487ac3ad-2343-451b-a84e-153d0b01dee4@kernel.org> Date: Thu, 1 Feb 2024 08:59:36 +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: [PATCH 1/1] block: print warning when invalid domain set to ioprio Content-Language: en-US To: Zhaoyang Huang , Niklas Cassel Cc: "zhaoyang.huang" , "Martin K . Petersen" , Hannes Reinecke , "linux-kernel@vger.kernel.org" , "steve.kang@unisoc.com" , "linux-block@vger.kernel.org" , Bart Van Assche References: <20240131121401.3898735-1-zhaoyang.huang@unisoc.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 2/1/24 08:34, Zhaoyang Huang wrote: > On Wed, Jan 31, 2024 at 9:07 PM Niklas Cassel wrote: >> This sound like either a bug in the FS or by some of your local changes >> that you did for your other patch (ioprio based on activity). > Yes. That's why I would like to suggest adding some information here > to help developers find the clue quickly. The backtrace was not clear enough ? When a request reaches mq-deadline, the request priority is supposed to be correct already. Your changes had a bug and broke that assumption. Please fix that instead of adding error messages for errors that should never happen in the first place. -- Damien Le Moal Western Digital Research