Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3168139pxu; Mon, 14 Dec 2020 23:46:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg4l+B4S/VjhfAY8wRDLc8vwKk8OyEOHiQcgOtpvvazzSSe4PcSCbM1ziS9k6D/MMjp4ON X-Received: by 2002:a17:906:a8f:: with SMTP id y15mr25716505ejf.552.1608018401511; Mon, 14 Dec 2020 23:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608018401; cv=none; d=google.com; s=arc-20160816; b=GgZRfbDkHBE1ximeK8Wj6ygJyb54uSQnWKT/NdPLzWAKUIFwWhumAvSaA7O+g5Vg9n CHzSlavTtCbzP9RshFV8ywuEomGIltj/QfzFGYDxPM7GlwbHO2UwVnU4SOOY7Ztt3TMA g9uvGMedt6hvS3tZNlrV4YhvJ89N6SnfOPerSKaJj75lPJVId4Ab1vzd4misutWUxgoc E3gVKYFAWYhEjk7NmmL3J6TYh46kLPBSAfjJ4+EtipbQU3uArKkwRkTrtftYjXd3cAu9 wYI4Qs66XJKfO7xfQ/srY6MvPkVjI8JbQJPNWnKcs2I8hVkQAdDiPtiwvwZu46QNnM9q FUeA== 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=AlTAnY9QUx2VnzBChTYNckHvRsIRhfCXy3NwMrbJtcI=; b=viG2ChAcRbGO+6BU+NAYoeSYfUXMsl+VL/cCjWT8Y9KP8PHx7bgIn/q4bybhbUZfIs sXSdH96LBMvo58zW77CKYI2OUdMJjil7YfmdXPbe2jTQ9C14GKwU0lV5YwmXQNM8W3LZ RwNxM/0v7cHGoLY2HnOaEGqHXNOOc3oJCJtfn+dEZIqa5X/tEd0JbTrjyOmnL0y7XfnL WgEUghAshwMqX4PhvhgB5w74rk95fj5inWVMEk4x7zC23olO9k0OV8qSrafGKS3sGdnZ /EwS2BZqdnTGHCaEe5KvRTX0hGEqvX9M7kMHqLPpiZzua9qFEP5t4xfjtDLE7qW5ejaw hjlg== 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 j23si430478ejy.309.2020.12.14.23.46.18; Mon, 14 Dec 2020 23:46:41 -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 S1726938AbgLOHmC (ORCPT + 99 others); Tue, 15 Dec 2020 02:42:02 -0500 Received: from mx2.suse.de ([195.135.220.15]:43798 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbgLOHlu (ORCPT ); Tue, 15 Dec 2020 02:41:50 -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 BA42AAD0E; Tue, 15 Dec 2020 07:41:08 +0000 (UTC) Subject: Re: [PATCH 0/3] block: blk_interposer - Block Layer Interposer To: Bob Liu , 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> From: Hannes Reinecke Message-ID: <299962c3-c52b-a580-5b1f-a21b9021f9e6@suse.de> Date: Tue, 15 Dec 2020 08:41:07 +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: 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/15/20 7:51 AM, Bob Liu wrote: > Hi Folks, > > On 12/12/20 12: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. >> > > Besides the dm approach, do you think Veeam's original requirement is a good > use case of "block/bpf: add eBPF based block layer IO filtering"? > https://lwn.net/ml/bpf/20200812163305.545447-1-leah.rumancik@gmail.com/ > That would actually a really cool use-case. You could also consider a XDP-like functionality for eBPF, to move individual requests from one queue to the other; DM on steroids :-) Should I try to include that patchset? 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