Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27735977rwd; Tue, 4 Jul 2023 07:10:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LhQ29F01Qb5fVfAsqiXcLrzmH9uvssQm0zVESXj8Zsoewt6QscdFh0FMt4v+S40ythUTr X-Received: by 2002:a54:4d9a:0:b0:39a:522c:55c1 with SMTP id y26-20020a544d9a000000b0039a522c55c1mr10460031oix.8.1688479845397; Tue, 04 Jul 2023 07:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688479845; cv=none; d=google.com; s=arc-20160816; b=dtcaSN306IG7NpJdelOYqKNYopWxiTGgGCChx5jMPpKwQNh9In2cbyTQM3xdphzY4n 97km4iVckQE5BCXI6TGotiXp3xl2lMafog9UD0yFQhPunxUWF+X2UPDD68dke2f4AJcy sHx8KRwty7gvKv2qgw8ylcKk2RuxULbx6AC/3CQb751XtZf1FIZJ1OK0T2bD00iZ8jjT hLBRuEmyQUefsw9luHGBnG8V66fXP+XykApidsEFjb++jLCq8XEN+YUcTM1Zk10s+m4A eNSJuSgySrmvta+Klyxdi/EG1dWobajURbeFqOeJzh6LCnUYdPO0d6oR06OxbJttIXGW +2RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=JV2SCOEdB9t0w6tigDexjJMYhGF54ZwsLlYmJ1gE7wU=; fh=IjotKCpRcAC8fkrRn/bfSBYXCOhuPGmjjhAoUwkF9ak=; b=ChEcO3C7rafY7IiQGzc5YGMCKYLXEYct+8vEkvlYSUZTvNqiJu9aucslx3+mmpFGwt s1E/q3tGazQ/HUpeQGaOMzdW8HpanqqUUjRS2HQCp81OaYg6Bi1xwfvfpNPFLE7HKA4c ChXtdKrW3/h/U1/sFDUgVdMRBSQ9mRIwZjldtz+U/EAEKrtDvgO4kroR7vKzeSE0L+4t 1bugoliZ1h8x8vKk63pj1Hb/5OePKJ9pDJx/bqgbOfsDsO86kM6N37ygKPXiGSnT0Kws 2SpoxcTTIbD1cT3AhsY/ezOoivbkW7L1GL+8Xuh3/hcUfy90UPQH4LVaPOMMw7X4cNO2 b6Bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t1-20020a056808158100b003980fa9d14dsi8807341oiw.329.2023.07.04.07.10.24; Tue, 04 Jul 2023 07:10:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231160AbjGDOGb (ORCPT + 99 others); Tue, 4 Jul 2023 10:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbjGDOGb (ORCPT ); Tue, 4 Jul 2023 10:06:31 -0400 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CB9BF7; Tue, 4 Jul 2023 07:06:30 -0700 (PDT) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1b8303cd32aso44543055ad.2; Tue, 04 Jul 2023 07:06:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688479590; x=1691071590; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JV2SCOEdB9t0w6tigDexjJMYhGF54ZwsLlYmJ1gE7wU=; b=bMICWCFC1W076H+YN1lR/nCQau0HbgCI0H4vl8vZYXgociPXrYyV5p2vJwJSn4IvXw X0VdLEzWRujDjUle97qp5ejyEiOTvK9cEwtJF9fXchWUeZ3V4uQSdYUun19YJ76vkPzg EZ1VW7i4f34rBtELVeYa/NvSt/WWf8EGkE3xgRc0FNndIJufTeQZZj1KiqF78g6Qv4BO 0X8PwY5ee/rPn2rjRArQ76JDuSpgQ/4XYckAc/yuSHkTasvw/OegnkRz43f6yLq3W0e3 rRA6atJmAtXopQDEq1HSeWbL6ASsixUt+la82hfgmJxFH2y2NJEwaZhVIkeu3mm+1ick EadQ== X-Gm-Message-State: ABy/qLaMBNDn1rNBaXGQB2u/UKIklMPTeUzdebm00ZhMy9QxeJpBvQHH tDxcOHS51TLWDp/ELdGfDOY= X-Received: by 2002:a17:903:447:b0:1b8:a31b:ac85 with SMTP id iw7-20020a170903044700b001b8a31bac85mr2719760plb.41.1688479589749; Tue, 04 Jul 2023 07:06:29 -0700 (PDT) Received: from [192.168.50.14] ([98.51.102.78]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001b672af624esm13083569plb.164.2023.07.04.07.06.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 07:06:29 -0700 (PDT) Message-ID: Date: Tue, 4 Jul 2023 07:06:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 01/32] block: Provide blkdev_get_handle_* functions Content-Language: en-US To: Jan Kara , linux-block@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, Jens Axboe , Christoph Hellwig , Alasdair Kergon , Andrew Morton , Anna Schumaker , Chao Yu , Christian Borntraeger , "Darrick J. Wong" , Dave Kleikamp , David Sterba , dm-devel@redhat.com, drbd-dev@lists.linbit.com, Gao Xiang , Jack Wang , Jaegeuk Kim , jfs-discussion@lists.sourceforge.net, Joern Engel , Joseph Qi , Kent Overstreet , linux-bcache@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mm@kvack.org, linux-mtd@lists.infradead.org, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-nvme@lists.infradead.org, linux-pm@vger.kernel.org, linux-raid@vger.kernel.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, linux-xfs@vger.kernel.org, "Md. Haris Iqbal" , Mike Snitzer , Minchan Kim , ocfs2-devel@oss.oracle.com, reiserfs-devel@vger.kernel.org, Sergey Senozhatsky , Song Liu , Sven Schnelle , target-devel@vger.kernel.org, Ted Tso , Trond Myklebust , xen-devel@lists.xenproject.org References: <20230629165206.383-1-jack@suse.cz> <20230704122224.16257-1-jack@suse.cz> From: Bart Van Assche In-Reply-To: <20230704122224.16257-1-jack@suse.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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-ext4@vger.kernel.org On 7/4/23 05:21, Jan Kara wrote: > +struct bdev_handle { > + struct block_device *bdev; > + void *holder; > +}; Please explain in the patch description why a holder pointer is introduced in struct bdev_handle and how it relates to the bd_holder pointer in struct block_device. Is one of the purposes of this patch series perhaps to add support for multiple holders per block device? Thanks, Bart.