Re: [PATCH v4 02/11] block: Block Device Filtering Mechanism

From: Randy Dunlap
Date: Mon Jun 12 2023 - 21:51:43 EST




On 6/9/23 04:58, Sergei Shtepa wrote:
> diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h
> index b7b56871029c..7904f157b245 100644
> --- a/include/uapi/linux/fs.h
> +++ b/include/uapi/linux/fs.h
> @@ -189,6 +189,9 @@ struct fsxattr {
> * A jump here: 130-136 are reserved for zoned block devices
> * (see uapi/linux/blkzoned.h)
> */
> +#define BLKFILTER_ATTACH _IOWR(0x12, 140, struct blkfilter_name)
> +#define BLKFILTER_DETACH _IOWR(0x12, 141, struct blkfilter_name)
> +#define BLKFILTER_CTL _IOWR(0x12, 142, struct blkfilter_ctl)


Please update Documentation/userspace-api/ioctl/ioctl-number.rst
with the blkfilter ioctl number usage.

thanks.
--
~Randy