Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2501342pxb; Wed, 9 Feb 2022 21:52:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQFa/oVb2F5Rlm1aqntPYnXvvhKM3sQPLzec98ua+iOFJ0FR7npATXJpQZA0npqJNBwwoW X-Received: by 2002:a17:907:728c:: with SMTP id dt12mr4999161ejc.697.1644472337756; Wed, 09 Feb 2022 21:52:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644472337; cv=none; d=google.com; s=arc-20160816; b=VQZLtm18WWIi5YcKIZYxgVql9rw+08yXYmHgguVsPmcolGSQzmu2zg3voDblz0px3j jArSnRFt2aPtlggWWhD/BH2e4cOU6dOmcuODq31BAesm2cIaLnfX4J64HRMScm7LEGJa BLpxppCoL72ccPtlCM6DwH65C1SJ5dKqZxB4H6sq8B53+m4Z5FWqeI6JTMhDFX4IXa4m ESUqt0N68vLH3XTNVKJ36Ar6xYmk/H2XhQxn0yvH925d5Kpi9ASsn9FsIZT9VcNUl8sG mtWTj1CaBW8fwLo3oWySEbahP7k0JTesnSN68k5/iMVTKCr1G0ykDmRMo1rhPPB3xkVM H0Fg== 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=zUXE+p4nU0NR3LK33keTKiC3MiGpqHZzDnhCV/FYFVc=; b=DRzvcsll+DBorQWyulY48whg+sTaizUt88AWeaP8ucwcTyENIhDtn9fGbHQlrTp+DF 50kcPiVMYi04wMqPygAPfdAVm9PHI5pGq+XpyBNOIdYROJ1X/GRZ4O7TcQuDQaR6LZZr 0hQYoNctOHgmsM5CS0I/nhwqgwk00jqPyX0ldvksEnp6wXZmDIIvwMdUCWI6c07l97kk CDmL4Vw403DkaYsaRjharsYChiz8dA0am7VJ3c0+rFoSPiNt5tYO2DiBY9A34xYlf1sQ 4KRzfPTpGezW1cHJqNE47Kt2YCN15+Y7UDWW9QRjS9cQR28KLjUrcsMX+Ihidg6OoGhY Aw6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1iOjcBu6; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p10si5173496eds.516.2022.02.09.21.51.53; Wed, 09 Feb 2022 21:52:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1iOjcBu6; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230328AbiBJFnJ (ORCPT + 99 others); Thu, 10 Feb 2022 00:43:09 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234390AbiBJFmX (ORCPT ); Thu, 10 Feb 2022 00:42:23 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D15081174; Wed, 9 Feb 2022 21:41:47 -0800 (PST) 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-out1.suse.de (Postfix) with ESMTPS id 8D1C9210F6; Thu, 10 Feb 2022 05:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1644471706; 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=zUXE+p4nU0NR3LK33keTKiC3MiGpqHZzDnhCV/FYFVc=; b=1iOjcBu6oE+BXqXEFHtabUHK7sZNNAt+F9BXNB5uV7m3v4yti6KzGXBiLv7VLruTI3nEpR RzUf48rnigX5xLwZY9cqLSfPrG7m7EbPedvqO83z8P0IJauCacL1yhTk9JKT9feAU1DqJI KUpM8T9cgXJ5IztxA4OlP16a8F1IH8w= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1644471706; 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=zUXE+p4nU0NR3LK33keTKiC3MiGpqHZzDnhCV/FYFVc=; b=0ZiiWmrlykQukuniHTdmeJDPxTmHcRtiUSrL0vXadFeW3t9RQIDNXluXWa7JinzIWwJ++B zkp5vHuwQfZju0DQ== 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 D113C13519; Thu, 10 Feb 2022 05:41:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id wj+/IpKlBGLHOQAAMHmgww (envelope-from ); Thu, 10 Feb 2022 05:41:38 +0000 Subject: [PATCH 10/11] block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC" From: NeilBrown To: Andrew Morton , Jan Kara , Wu Fengguang , 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-doc@vger.kernel.org, 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, 10 Feb 2022 16:37:52 +1100 Message-ID: <164447147264.23354.2763356897218946255.stgit@noble.brown> In-Reply-To: <164447124918.23354.17858831070003318849.stgit@noble.brown> References: <164447124918.23354.17858831070003318849.stgit@noble.brown> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Acked-by: Jens Axboe 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); }