mirror-linux/include
Christoph Hellwig f5f2bad67a block: make the new blkzoned UAPI constants discoverable
The Linux 6.19 merge window added the new BLKREPORTZONESV2 ioctl, and
with it the new BLK_ZONE_REP_CACHED and BLK_ZONE_COND_ACTIVE constants.

The two constants are defined as part of enums, which makes it very
painful for userspace to discover if they are present in the installed
system headers.

Use the #define to the same name trick to make them trivially
discoverable using CPP directives.

Fixes: 0bf0e2e466 ("block: track zone conditions")
Fixes: b30ffcdc0c ("block: introduce BLKREPORTZONESV2 ioctl")
Reported-by: Andrey Albershteyn <aalbersh@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2026-01-21 07:47:44 -07:00
..
acpi Revert "ACPI: processor: idle: Optimize ACPI idle driver registration" 2025-11-25 16:08:06 +01:00
asm-generic bpf-next-6.19 2025-12-03 16:54:54 -08:00
clocksource
crypto This update includes the following changes: 2025-12-03 11:28:38 -08:00
cxl
drm
dt-bindings
hyperv
keys
kunit
kvm
linux block: move around bio flagging helpers 2025-12-12 12:36:44 -07:00
math-emu
media
memory
misc
net bluetooth-next pull request for net-next: 2025-12-01 17:10:52 -08:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace New features and improvements for the ext4 file system 2025-12-03 20:37:15 -08:00
uapi block: make the new blkzoned UAPI constants discoverable 2026-01-21 07:47:44 -07:00
ufs
vdso
video
xen
Kbuild