[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b09f97a5-4097-6ac4-00fd-27a77c5d15dd@kernel.dk>
Date: Mon, 21 Oct 2019 08:45:33 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Bart Van Assche <bvanassche@....org>, Hou Tao <houtao1@...wei.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: linux-block@...r.kernel.org, bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>, hare@...e.com,
osandov@...com, ming.lei@...hat.com, damien.lemoal@....com,
Daniel Borkmann <daniel@...earbox.net>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>
Subject: Re: [RFC PATCH 1/2] block: add support for redirecting IO completion
through eBPF
On 10/21/19 7:48 AM, Bart Van Assche wrote:
> On 10/21/19 6:42 AM, Hou Tao wrote:
>> Your suggestion is much simpler, so there will be no need for adding a new
>> program type, and all things need to be done are adding a raw tracepoint,
>> moving bpf_ccpu into struct request, and letting a BPF program to modify it.
>
> blk-mq already supports processing completions on the CPU that submitted
> a request so it's not clear to me why any changes in the block layer are
> being proposed for redirecting I/O completions?
That's where I'm getting confused as well. I'm not against adding BPF
functionality to the block layer, but this one seems a bit contrived.
--
Jens Axboe
Powered by blists - more mailing lists