Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp396611pxb; Mon, 13 Sep 2021 23:09:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaYD3jn60eoSyVmYdDRZgNLjOYhVpndJr1zH/afi/JIhfKeDl7qqFPbWKXKlU6kXff47By X-Received: by 2002:a17:906:e20e:: with SMTP id gf14mr13138323ejb.244.1631599750127; Mon, 13 Sep 2021 23:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631599750; cv=none; d=google.com; s=arc-20160816; b=QS1w+UJifkp57NS1WT603Oa3k9o1sYuPoO/HE0lALAJaQV5Oe7pgtTP3b6Z9JBDEjU 9mShJdaN3vU2xvXQdV7nIOgFsQ5YaPp9/x8o93Bn6gF0FAHikDP6ty/wfKzLyhGOUz2p 5YuxN6yJ9xoToWdruMm2F1IoUV7/6FA9eUDTVfcP5s7+fFb9BTwdoCzxTlKiJseXizBO NjHLIUrGwLIFMzlPyD4jrk3pjL7ROly87gTc7lQJUYXkdWHQ5YHEWhb2tcTCCbHmFZXJ 1PK3KVyEYm1RI0feXHMCq2IMBiq+3uMksNPK2Wny3pTzDD/BTtPej57hwuOES3TI6GID xxeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=czloRHDt7KG6dixgZlMBPS8hgVmlcKIlRgQy6IQr0Qc=; b=Byvr4ZsJSVi7HpdktrXQEU5vEdBGFMiIjqNnolihJvPeIwa0WZk9QfqaMc2Ej4m472 e6vqtkLl3uk1fFFNcHh6nhyLItdSwFY7zIQ343NYp3jUNODtE07CXi1OY7qhLkDD2OG/ 6yscmp1VB58YvDwv8ZEJHC43ypp6Cme5nSi2lKCOkcsmv6/08pkq5QD4VBZPK5i1DjHs PCOKKXVOyYamztfGNntSvmvduL+t03y75Wp6b+YUasp1TW77egIH84wWN3BbySCeOVrp iFWfko1bmE9P/C20ljpXjfGhKIH8F8uo/Hove3BYlbDxb9eJXi0Hc7Q3OCCDedEcApgn IB2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mXzTvmQ0; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id og42si6999115ejc.692.2021.09.13.23.08.45; Mon, 13 Sep 2021 23:09:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=mXzTvmQ0; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S240037AbhINGG4 (ORCPT + 99 others); Tue, 14 Sep 2021 02:06:56 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:36996 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239977AbhINGGt (ORCPT ); Tue, 14 Sep 2021 02:06:49 -0400 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 DC50D1FDB5; Tue, 14 Sep 2021 06:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1631599531; 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=czloRHDt7KG6dixgZlMBPS8hgVmlcKIlRgQy6IQr0Qc=; b=mXzTvmQ0fT5Rlu2mZ46JTwZ6V5roI73STmJKRDy4Wod4z613d3vn5J4MlJU/Q0KK/C1OWW onrvj5CdbsfO+NVumqdV6SPnf7DWI5cqYREcgT0TKqmPTNn+YdY1Uxb8GpxTvpjgdaLu9g 26Bcq43CEyvMe5NJns5A0tj9B8ocZwQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1631599531; 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=czloRHDt7KG6dixgZlMBPS8hgVmlcKIlRgQy6IQr0Qc=; b=3to0PJoVYXaPC3CGvvVAkwt854FYkwBpfOEBkWf6VncNnhkbFAnJHl/QT3nj9LwYdsrtwc 4595tkTI9OzkTXDA== 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 0E85913E48; Tue, 14 Sep 2021 06:05:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 05vgNag7QGF9WQAAMHmgww (envelope-from ); Tue, 14 Sep 2021 06:05:28 +0000 Subject: Re: [PATCH RESEND v3 13/13] blk-mq: Stop using pointers for blk_mq_tags bitmap tags To: John Garry , axboe@kernel.dk Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, ming.lei@redhat.com, linux-scsi@vger.kernel.org References: <1631545950-56586-1-git-send-email-john.garry@huawei.com> <1631545950-56586-14-git-send-email-john.garry@huawei.com> From: Hannes Reinecke Message-ID: Date: Tue, 14 Sep 2021 08:05:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <1631545950-56586-14-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/13/21 5:12 PM, John Garry wrote: > Now that we use shared tags for shared sbitmap support, we don't require > the tags sbitmap pointers, so drop them. > > This essentially reverts commit 222a5ae03cdd ("blk-mq: Use pointers for > blk_mq_tags bitmap tags"). > > Function blk_mq_init_bitmap_tags() is removed also, since it would be only > a wrappper for blk_mq_init_bitmaps(). > > Reviewed-by: Ming Lei > Signed-off-by: John Garry > --- > block/bfq-iosched.c | 4 +-- > block/blk-mq-debugfs.c | 8 +++--- > block/blk-mq-tag.c | 56 +++++++++++++++--------------------------- > block/blk-mq-tag.h | 7 ++---- > block/blk-mq.c | 8 +++--- > block/kyber-iosched.c | 4 +-- > block/mq-deadline.c | 2 +- > 7 files changed, 35 insertions(+), 54 deletions(-) > A round of silent applause :-) Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer