Received: by 2002:aa6:cad3:0:b0:147:287a:cb84 with SMTP id e19csp776659lky; Mon, 27 Sep 2021 02:42:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuU3Vc9vSyOWCdUAkp6ekER2klbGW3uGpsgV4g8l2HDPjP9KjjWGtXn6gtNiAkiGKB7WFK X-Received: by 2002:a05:6402:1bde:: with SMTP id ch30mr22293326edb.278.1632735776038; Mon, 27 Sep 2021 02:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632735776; cv=none; d=google.com; s=arc-20160816; b=i3mmEQFjGBZB4xk7Nbo84FGNxiu7+F17b4WnhLmNNyTVCIPkD/Mfpklm/i3doer+7y Sguv8+e8ghcFCtEjASKPSHbto7AZYJLZv0mktC8Dldpq2nev5Eb87M9a489OybpvXaJO MakaWW3oHJ14Yv2IJmpKbYA02H21VqFm40pOoCko5lmzbaCkFRMtGmq/oLY7+4Jakls7 WePmq8tP1FdDfhQl7hqTj/ZKC6WlXdaa39dTOMWG9+dEPa5tY0sIR12eog/YgfCLUzQo IHlnY/LsTxm4fHZCxa/O4vQiJFj/36tFJHaCTPN2LvLfrgrdt1F098spaOFGzG6idrhi CW6A== 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; bh=qEKWUP/Odl4oUox5L6F1ZuEMExvRprOQ7dhOe2heVzM=; b=Bu1cFo/oxRUKs7ulhMohJmoD0yKke9zAp6QSabdpnoP8H+YGCJwDfcj+1+3iTUioJx Er2oVMTbS6xXtVQobOrqhTAbHKhw0rgxXGMhu8Q6/kDCbADVuWv0MDIvIDjMvLsGlfrf 4VE+raWJn8euGRlyFfInR7O2g2vdXFyn0Pi6zSfvtAxSOCbFpSKJ2D2ZeZJ4NSiVxS9i eiK2eGTsfoGrnyqg/vkwxllZRhHUHfhvsLOkLIrfNE+RQ8VHbeqcFaJxpSfMraiEQmOf 9jdAi8kvHlarV53TA3istaSInPRzdWRENnUfqHGxZVXZwBsVP+iX2XPgymIKWa798C2B Q+ew== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu11si17359362ejb.202.2021.09.27.02.42.32; Mon, 27 Sep 2021 02:42:56 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233747AbhI0Jjy (ORCPT + 99 others); Mon, 27 Sep 2021 05:39:54 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3879 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233740AbhI0Jjx (ORCPT ); Mon, 27 Sep 2021 05:39:53 -0400 Received: from fraeml701-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HHyDZ3Xlmz67Dcf; Mon, 27 Sep 2021 17:35:42 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Mon, 27 Sep 2021 11:38:13 +0200 Received: from [10.47.85.67] (10.47.85.67) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Mon, 27 Sep 2021 10:38:13 +0100 Subject: Re: [PATCH v4 12/13] blk-mq: Use shared tags for shared sbitmap support To: Ming Lei CC: , , , , References: <1632472110-244938-1-git-send-email-john.garry@huawei.com> <1632472110-244938-13-git-send-email-john.garry@huawei.com> <6f52adfd-6904-6efb-adfc-f5f20eb5c1cf@huawei.com> From: John Garry Message-ID: Date: Mon, 27 Sep 2021 10:41:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.85.67] X-ClientProxiedBy: lhreml717-chm.china.huawei.com (10.201.108.68) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/09/2021 10:26, Ming Lei wrote: >>>> - struct sbitmap_queue sched_bitmap_tags; >>>> - struct sbitmap_queue sched_breserved_tags; >>>> + struct blk_mq_tags *shared_sbitmap_tags; >>> Maybe better with shared_sched_sbitmap_tags or sched_sbitmap_tags? >> Yeah, I suppose I should add "sched" to the name, as before. >> >> BTW, Do you think that I should just change shared_sbitmap -> shared_tags >> naming now globally? I'm thinking now that I should... > Yeah, I think so, but seems you preferred to the name of shared sbitmap, so I > did't mention that,:-) OK, I can clear up any references in a follow on patch to try to keep this one as small as possible. Thanks, John