Re: [PATCH] block: Name the RQF flags enum

From: Jens Axboe
Date: Thu Mar 06 2025 - 19:51:57 EST



On Thu, 06 Mar 2025 08:27:51 -0800, Breno Leitao wrote:
> Commit 5f89154e8e9e3445f9b59 ("block: Use enum to define RQF_x bit
> indexes") converted the RQF flags to an anonymous enum, which was
> a beneficial change. This patch goes one step further by naming the enum
> as "rqf_flags".
>
> This naming enables exporting these flags to BPF clients, eliminating
> the need to duplicate these flags in BPF code. Instead, BPF clients can
> now access the same kernel-side values through CO:RE (Compile Once, Run
> Everywhere), as shown in this example:
>
> [...]

Applied, thanks!

[1/1] block: Name the RQF flags enum
commit: e7112524e5e885181cc5ae4d258f33b9dbe0b907

Best regards,
--
Jens Axboe