Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1201019pxk; Fri, 4 Sep 2020 03:29:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGGLZGWJwcSIhM5HDll70KpI80bdZQvg1bzjwhDd9pucNUISOihZ7ycAiHyyhhh89JyJ2l X-Received: by 2002:a05:6402:1819:: with SMTP id g25mr7456520edy.292.1599215372691; Fri, 04 Sep 2020 03:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599215372; cv=none; d=google.com; s=arc-20160816; b=EikIgVrlxM97n3OLhaxTR44Q04chY0Bs0tmV3UayN5oKPdrZVYj6bNWBsMXVOA2QtJ 5frBIriPWVtiYdJ7jjr94JArghb+DOmCloaVKF4aYMge7um/7wFaQ4zvhqYlnNAJKIO/ GlF+KYGb+4O4qtY/vI9rLKh9iSvS8RsOl5e5hSm8ayvp9iZs0+zaNaKGEhqFrZbN8T4+ caU/R6YN4C9ovKClQAMBbVB/wlg+IT+PbnRmJd54zyrgPBqUkP2atkT4NdL78C7qumZU onCykEQas8PbnjvmQyE4KIR3o7MzhNyuKiCcJ4bBAjeYcT72lO9vF9cH1KSdGOn7YX8w MPYA== 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=gmfeHHSrkwXZkd8ZXWVxXBmfaI2WuvhdQ5H/D+MUFkM=; b=BGiBrnFEWFQLjjMLbXyy0zrAxJJRq7IL+oDhZ4LRkBkkzso/0Ib3xovD1brclLFtwz wioUg4zSgEI8syqOPiHXlIaIdSfDeHQMZhsIYdnVu0jnMqdqFwDVHmmEI2Y6F+hY+pHj 6VCe6FIZhvZXTLFMhZA4WuBHLmDbiW0bT1Psb6roiJBdtXaujGJ3+vsNm9AQEjHl2JzB KRRqqcuv62oIIblj89JfaCWZPUhvE9K3/++jpvAYv4bIhXAQiAp0/+Bd8vQdgGGffIxW 6784JDR/K025RIMtAESwQSd158BtSkMhXL2I7o6YJZ8IsowuvkfVY9IH0TNynRkKmhRL cZMQ== 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 a15si4003148edr.470.2020.09.04.03.29.09; Fri, 04 Sep 2020 03:29:32 -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 S1728588AbgIDK2h (ORCPT + 99 others); Fri, 4 Sep 2020 06:28:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:46696 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbgIDK2g (ORCPT ); Fri, 4 Sep 2020 06:28:36 -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 A59E9AF6D; Fri, 4 Sep 2020 10:28:35 +0000 (UTC) Subject: Re: [PATCH 15/19] amiflop: use separate gendisks for Amiga vs MS-DOS mode 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-16-hch@lst.de> From: Hannes Reinecke Message-ID: <55a79fd2-aa85-a687-0f17-60fa05830cf2@suse.de> Date: Fri, 4 Sep 2020 12:28: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-16-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: > Use separate gendisks (which share a tag_set) for the native Amgiga vs > the MS-DOS mode instead of redirecting the gendisk lookup using a probe > callback. This avoids potential problems with aliased block_device > instances and will eventually allow for removing the blk_register_region > framework. > > Signed-off-by: Christoph Hellwig > --- > drivers/block/amiflop.c | 98 +++++++++++++++++++++++------------------ > 1 file changed, 55 insertions(+), 43 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