Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5919273pxb; Thu, 27 Jan 2022 02:26:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKTb2E3QYg+Z81klQzl8VWDw0kSVaNovL/rNtSdnnCTN8ppQXrwBVhdMYBPfCTtDtZ+aRI X-Received: by 2002:a17:906:7306:: with SMTP id di6mr2333194ejc.521.1643279163125; Thu, 27 Jan 2022 02:26:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643279163; cv=none; d=google.com; s=arc-20160816; b=sfTnmMVQbYlluzSX1sCgQlGl5DEXzIA2mwTfiX+eNcHw9mIkrtAEPuyJktPnvq3Bh9 U4F8fUAQlTTBgJr4Zz6apiowdEtQ4BUxLpp9FsrjLoHD7yVwCIbBvyPrXVdP6Cr+cwuO QU8GT5tVbIAH10rqNzsIgn0N6bGX1W/THYxnVillLlRJXt3JeNqnTiqAklV02z2bcoC4 fU+2IW1f1f543IWkqW9yGMjhWQ77vAp2ZnVcNpj3uG+vfZMGpVEsosiHSWQdaHMQNOLB Hxn8kAhuLOQDwk2UuvxpiY6GV/jC4O8QMhcr7cgfvPNce9wcURtTSjLtY0ut7zAhkOts nzVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature:dkim-signature; bh=7zgeLiYzUJoQQtP3ZAixzvth8UZ5GI6sC37jShYD+Pg=; b=jAmemBsf2ieRHDwsj/JhoQlmq4ocMCYmrcLw8nljm+PZPksM2NvDAwqK4dHi2OgGtL n6EMZqiE1HQk490au0g49ipWhL6s+7DIDWNy7Q8zGQOSzkcl9/Y4FFUoFBN+jmX1Tu4j BLLp6zH+mr124UevDrOBx3grZcEFBj9X0b5X4xb1cCv4t7fY4FNncpuAPt4JSsdvMumr agAWGs/s0ccCL0QBhngtbJBUlHt+zI0I0GO05b9VwsV2naqUbi/N0mmaUCkncFMRIhmJ nbPSizPvTr/+Ld1otY72HMcJWFnr4dkLjejsyReCpP64gpQsvZedJWM8cmGhm2p+D/UM 3evA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qDF0dErO; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a2si1108291edb.468.2022.01.27.02.25.39; Thu, 27 Jan 2022 02:26:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qDF0dErO; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233148AbiA0Ct2 (ORCPT + 99 others); Wed, 26 Jan 2022 21:49:28 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:55032 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231881AbiA0Ct1 (ORCPT ); Wed, 26 Jan 2022 21:49:27 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0B9141F46E; Thu, 27 Jan 2022 02:49:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643251765; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7zgeLiYzUJoQQtP3ZAixzvth8UZ5GI6sC37jShYD+Pg=; b=qDF0dErOQFLqixkI/i+1BahZJOIZW7oLQsnfE8Mpttq9d/W7z8HXr9UieTT8FobRX/DcnK 0k7UkCHp7VLB7YCQTnFqYuA6cX3Wl0Q52Sza81Nwfdu8rGxPBKXfIdmFfJ3PLKz5ccyXnc SRLoRuAFYyiOKWPZ4uDN1X1+WwIcCfs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643251765; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7zgeLiYzUJoQQtP3ZAixzvth8UZ5GI6sC37jShYD+Pg=; b=VZ8PyF0cOsTApVgFFYAXl4bhTOrGE0ayz0BiAfXtH993usgibLIneMqQvm6eqIm+U+xfqv 6HsMfDzO5pCzrJAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 360D613E46; Thu, 27 Jan 2022 02:49:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id dzTOOC0I8mFpLAAAMHmgww (envelope-from ); Thu, 27 Jan 2022 02:49:17 +0000 Subject: [PATCH 8/9] block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC" From: NeilBrown To: Andrew Morton , Jaegeuk Kim , Chao Yu , Jeff Layton , Ilya Dryomov , Miklos Szeredi , Trond Myklebust , Anna Schumaker , Ryusuke Konishi , "Darrick J. Wong" , Philipp Reisner , Lars Ellenberg , Paolo Valente , Jens Axboe Cc: linux-mm@kvack.org, linux-nilfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, ceph-devel@vger.kernel.org, drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Date: Thu, 27 Jan 2022 13:46:29 +1100 Message-ID: <164325158959.29787.11286416793279041497.stgit@noble.brown> In-Reply-To: <164325106958.29787.4865219843242892726.stgit@noble.brown> References: <164325106958.29787.4865219843242892726.stgit@noble.brown> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org bfq_get_queue() expects a "bool" for the third arg, so pass "false" rather than "BLK_RW_ASYNC" which will soon be removed. Signed-off-by: NeilBrown --- block/bfq-iosched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index 0c612a911696..4e645ae1e066 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -5448,7 +5448,7 @@ static void bfq_check_ioprio_change(struct bfq_io_cq *bic, struct bio *bio) bfqq = bic_to_bfqq(bic, false); if (bfqq) { bfq_release_process_ref(bfqd, bfqq); - bfqq = bfq_get_queue(bfqd, bio, BLK_RW_ASYNC, bic, true); + bfqq = bfq_get_queue(bfqd, bio, false, bic, true); bic_set_bfqq(bic, bfqq, false); }