Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp661784pxu; Fri, 11 Dec 2020 11:06:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJySxAh/XOucb/SpKTI360zQEGc78/aCdSyeNjXZrnNY2k3txcJvob2axOXlxh0STMYGz4Wf X-Received: by 2002:a17:907:11ca:: with SMTP id va10mr1223114ejb.78.1607713582384; Fri, 11 Dec 2020 11:06:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607713582; cv=none; d=google.com; s=arc-20160816; b=Vx75H1Gamdm0LCJjVstZYF9cWazXLe4rDAX2rIkJ9P8GNXZbQouvJdvotBkrp8OpyI Hc4DU3HDpfG9IBNXn3wFLtEBWiKUhZMNO1C+lXnAxG/UEGwFIPpUEam78VgWyhGpU55F HW3W5IX+2lsV7YmVEbIXaBI7QBLTqwxLdAd76AU02Y2oueso40CF7nVAsdabQl3BevXD +6qI7FKwtXM9SkvaS5l7e23cqUOh3Fwa3dTxyhTnd1uvP95yUnE1gT7NZ+iDt42R1OnZ LsEmp4NCWxt2OCHOgEtfX6EYBCE7KfeusIi3aEsiGPfZjqFjzHI/p5DlrDCPZ2xt7bW5 Lvfg== 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=DXubFUZnaRh1RQHwn1AmlBDQf/ZMAzoRZFLc1h6JPAg=; b=K/Ez9mRuIP31FJdCi+6houUvblqXA2ZBoIlAe1ZcrfVPFhLyCnBZDUN6HkPI8UxO74 Uhxo8ySk2Q/qbiBAgKadNu004JdXma2tXXIeU/l84cT/K3AVCi5fis0wk+re0m5fkAWZ Q9OFJI7FBQqdo5SPtYd6gVDbpY7oig2kG0kxG6IepWGkt1hRReuBmkxO5bWPyKN9r85k wWeQ+Zl6Ak6JsToWrvSx2fUxGE7TTonL2bpUgeOqtX6Foia9oBQt8mUvcVrnPFysel4z X6P6I21As0eMy0YRpKutHRU+wNcwdpPBoh09VkmrfkHUkXdeau/oiKrnnOPH1MgKfVbd 25LQ== 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 t17si5070324ejj.562.2020.12.11.11.05.59; Fri, 11 Dec 2020 11:06:22 -0800 (PST) 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 S2392389AbgLKSEc (ORCPT + 99 others); Fri, 11 Dec 2020 13:04:32 -0500 Received: from mx2.suse.de ([195.135.220.15]:45346 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390628AbgLKSET (ORCPT ); Fri, 11 Dec 2020 13:04:19 -0500 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 C087DAE4A; Fri, 11 Dec 2020 18:03:37 +0000 (UTC) Subject: Re: [PATCH 0/3] block: blk_interposer - Block Layer Interposer To: Jens Axboe , Mike Snitzer , Sergei Shtepa , hch@lst.de Cc: "johannes.thumshirn@wdc.com" , "koct9i@gmail.com" , "ming.lei@redhat.com" , "josef@toxicpanda.com" , "steve@sk2.org" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Pavel Tide , dm-devel@redhat.com References: <1607518911-30692-1-git-send-email-sergei.shtepa@veeam.com> <20201209135148.GA32720@redhat.com> <20201210145814.GA31521@veeam.com> <20201210163222.GB10239@redhat.com> <20201211163049.GC16168@redhat.com> <1ee7652e-b77f-6fa4-634c-ff6639037321@kernel.dk> <208edf35-ecdc-2d73-4c48-0424943a78c0@suse.de> <06b4a10d-5ea5-27e1-af0d-83d5c714996f@kernel.dk> From: Hannes Reinecke Message-ID: Date: Fri, 11 Dec 2020 19:03:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <06b4a10d-5ea5-27e1-af0d-83d5c714996f@kernel.dk> 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 12/11/20 6:04 PM, Jens Axboe wrote: > On 12/11/20 9:56 AM, Hannes Reinecke wrote: >> On 12/11/20 5:33 PM, Jens Axboe wrote: >>> On 12/11/20 9:30 AM, Mike Snitzer wrote: >>>> While I still think there needs to be a proper _upstream_ consumer of >>>> blk_interposer as a condition of it going in.. I'll let others make the >>>> call. >>> >>> That's an unequivocal rule. >>> >>>> As such, I'll defer to Jens, Christoph and others on whether your >>>> minimalist blk_interposer hook is acceptable in the near-term. >>> >>> I don't think so, we don't do short term bandaids just to plan on >>> ripping that out when the real functionality is there. IMHO, the dm >>> approach is the way to go - it provides exactly the functionality that >>> is needed in an appropriate way, instead of hacking some "interposer" >>> into the core block layer. >>> >> Which is my plan, too. >> >> I'll be working with the Veeam folks to present a joint patchset >> (including the DM bits) for the next round. > > Just to be clear, core block additions for something that dm will > consume is obviously fine. Adding this as block layer functionality than > then exposes an application API for setting it up, tearing down, etc - > that is definitely NOT > That was never my intention. Any consumers of this thing would need to be in-kernel. If that was your concern. 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