Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp408947pxu; Fri, 23 Oct 2020 04:14:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGUj4b+D0q7Yu9kehgD/2LuuuHF5KMnnA4nPSxUZqEmtlv+12+NBmlWv8TbgYpkbv04yek X-Received: by 2002:a17:906:6a47:: with SMTP id n7mr1412656ejs.306.1603451679954; Fri, 23 Oct 2020 04:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603451679; cv=none; d=google.com; s=arc-20160816; b=wIsTgbIy+Ie9pOY6Hm7MfF7jfOy2ZUiWHr8ploUbIhYJoEtWOPYNR52O/XeQw7tCb5 Not4GZLH2oY1IJxgHpgBKUZUcTKvWtmNWr6JzJRF9HK7IHt+c13kWpqOV/aYj4zxnwy7 ZD6smcDDlb24/bY26uSUBRDY/eEMcigJZTRh1rz2Qj1qQmQlodW60ilS6+L5Fm+kY2zW Ddyk1FMcPQOJBcUVOBMT44O7K8JP5JF1NTwSc1Knxxfh3sF1Bp32zIcueNJF+Z9LkVlW zzOcfl4/tyD6IQFjOANVnhN6r+VSvcw46qkB0mQMZFKOmEAJWReDr4Kue1o0e6ee/dCC qR+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=L5+0ZOmshEWGRjYQbZQfyKQ/jkbENBN4GZDIbl9am3E=; b=fpW6SO5RZeLd5kKa4TqdgfP9kUdqpRSP5NfGNQ2Rtf9WfIniEc7JhkuL2tkXza8dsY mxnQPUX5hqc6HHuUcCT0Ng1HjLQ3NG88SVT0Ru36k6CI0IUaOypMckvTalPWhj3F8fnp EhwSsOy1BtxAQNXzZ43pRk0ZNpe0uX3eOYgTAuw9fn1q0jj9veMknF3ReGo+S69E2E5m Gxo40rGWh1kASuWQjbkQ2F8k6TgZ0hJZmlRiD+cLcgRLsre4s7emRw116qYvuH9lQHgV MRfRqTwU+lF7XyUjm1JN4NCJ+pjn3qWUXBNFKcYAP38S+c2jWD0kn+DmYCXV4cFNonTy ttEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Ie9QJ2wq; 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 k2si507686edx.333.2020.10.23.04.14.17; Fri, 23 Oct 2020 04:14:39 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Ie9QJ2wq; 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 S462807AbgJWLNW (ORCPT + 99 others); Fri, 23 Oct 2020 07:13:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S462757AbgJWLNV (ORCPT ); Fri, 23 Oct 2020 07:13:21 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B23D3C0613CE; Fri, 23 Oct 2020 04:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=L5+0ZOmshEWGRjYQbZQfyKQ/jkbENBN4GZDIbl9am3E=; b=Ie9QJ2wqfW+8LSUdxH/tSg8hAa 8C2mIC2GrZ8PI1MXKvN9BsfRilt8jYdEkGxyFOfAVDvy6Td3hQ9uBq6ez/h9E2ABxawDSJiOLHdJI LsZGNhEw0cC/ka2DrAdzFFZOie+px6AWbWK1jzCBTuyNuGJIbDc7Ua0tb1SKyYrwGa4R7W5BG1jO8 lxiEoi4nFgMohtN2CS2nX2Xcq7PIeN+Dvq+4Kp4WllzbqLpZqVP7tQsfMfzuy3e8gjTCMhW6FI+3k 4bz8a/7pem0jnI9l+DNScgPNKZTBfOKlV0f3hYQ2enHlqjYNexs64ubBaoTEtoMg6kzVaSt0292L4 yhh0jICQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVv09-0005sV-5b; Fri, 23 Oct 2020 11:12:53 +0000 Date: Fri, 23 Oct 2020 12:12:53 +0100 From: "hch@infradead.org" To: Hannes Reinecke Cc: "hch@infradead.org" , Mike Snitzer , "jack@suse.cz" , "gustavo@embeddedor.com" , "linux-mm@kvack.org" , device-mapper development , "pavel@ucw.cz" , "steve@sk2.org" , "osandov@fb.com" , Alasdair G Kergon , "bvanassche@acm.org" , "Darrick J. Wong" , "len.brown@intel.com" , "linux-pm@vger.kernel.org" , "ming.lei@redhat.com" , "linux-block@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "viro@zeniv.linux.org.uk" , Sergei Shtepa , "koct9i@gmail.com" , "axboe@kernel.dk" , Damien Le Moal , Johannes Thumshirn , "rjw@rjwysocki.net" , "linux-kernel@vger.kernel.org" , "linux-xfs@vger.kernel.org" , "tj@kernel.org" , "akpm@linux-foundation.org" Subject: Re: [dm-devel] [PATCH 0/2] block layer filter and block device snapshot module Message-ID: <20201023111253.GA22468@infradead.org> References: <71926887-5707-04a5-78a2-ffa2ee32bd68@suse.de> <20201021141044.GF20749@veeam.com> <20201022094402.GA21466@veeam.com> <20201022135213.GB21466@veeam.com> <20201022151418.GR9832@magnolia> <20201023091346.GA25115@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 12:31:05PM +0200, Hannes Reinecke wrote: > My thoughts went more into the direction of hooking into ->submit_bio, > seeing that it's a NULL pointer for most (all?) block drivers. > > But sure, I'll check how the interposer approach would turn out. submit_bio is owned by the underlying device, and for a good reason stored in a const struct..