Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1204265pxk; Fri, 4 Sep 2020 03:36:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDs+NT4WBcP9iiBbDzLjP20yAU9HBhngrHCt0XkNl8AoK64rJWZ9IXg57H+a/cL5LPcQLS X-Received: by 2002:a50:fc0b:: with SMTP id i11mr4442526edr.164.1599215767021; Fri, 04 Sep 2020 03:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599215767; cv=none; d=google.com; s=arc-20160816; b=Q0XZbPmBqUSVzM4lFnctujWFSCJ02+Lfd145RcyrF3Zi0rJ4+AMVOYQFz4Qhd/8Tz8 /1kD/0H3e7z9GWYEu9Vbjt3ca/tONagexlxoYAhPf1gjgHCpGy2kiMPQPqvOZBF/roAN DmRBh429fWeCT+PAhYG9xckPRZKf1Jq69ECF1Nt9myDzLwAzAyk3+rh+yiVJcs4I0JPr p5cRIcQ6+nIQEKZPzsyMKym6HD7DY9hlewsmWATk/uhWXGQQmUSkhzU3Tybgcn5Pjcna 87coHYc+rYO+DHIuGXq4Is8Zrt5NNv7uaX4UJoRjzaMpcfzh8RVPMmDb47cXaDyV7Dwt f9aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=708moZRzLe2/Fs/VNmv2k681QQE366PjC8Suqrt/LJk=; b=WuJdLmazoH7GHA+rPWidpk0lS3PM1n8Ocnw/F2HAasCcnMWhARJtwopzf2zzg1163d eN8wGDCEXr8H94lvelBRHfgcayHGpdP5poAE4QLPd/t5KEEDsCvJqiZP6oCh8lO6kxcD APEVRYacOCb87tq33l1uK3plhrMZfwQrRJ22j9cidxGlGetDoAVYzRG3YTAp0OJgvQmh uoxynyNQ9Jfi0eCqzSoZR5EbLbocxmfbx6BkSPXtCd0F07Ex8mvdc+hRttocnM2ehfKN +WVGOXqggf7YMi2sYDT2GMw7atAKPE3VBMCf8Ufe5uzl0wVEOAntqnn7DPuiqB5SKyN+ YqoQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si3766160edr.111.2020.09.04.03.35.44; Fri, 04 Sep 2020 03:36:07 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730056AbgIDKfH (ORCPT + 99 others); Fri, 4 Sep 2020 06:35:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:48288 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730106AbgIDKbV (ORCPT ); Fri, 4 Sep 2020 06:31:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 01B79AF6D; Fri, 4 Sep 2020 10:30:35 +0000 (UTC) Subject: Re: [PATCH 19/19] block: switch gendisk lookup to a simple xarray To: Christoph Hellwig , Jens Axboe Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Song Liu , Al Viro , Finn Thain , Michael Schmitz , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org References: <20200903080119.441674-1-hch@lst.de> <20200903080119.441674-20-hch@lst.de> From: Hannes Reinecke Message-ID: <3dae7f00-58bc-c857-7c90-08ec336783c9@suse.de> Date: Fri, 4 Sep 2020 12:30:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200903080119.441674-20-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/20 10:01 AM, Christoph Hellwig wrote: > Now that bdev_map is only used for finding gendisks, we can use > a simple xarray instead of the regions tracking structure for it. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Greg Kroah-Hartman > --- > block/genhd.c | 208 ++++++++---------------------------------- > include/linux/genhd.h | 7 -- > 2 files changed, 37 insertions(+), 178 deletions(-) > 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