Pull device mapper updates from Mikulas Patocka: - better error handling when reloading a table - use use generic disable_* functions instead of open coding them - lock queue limits when reading them - remove unneeded kvfree from alloc_targets - fix BLK_FEAT_ATOMIC_WRITES - pass through operations on wrapped inline crypto keys - dm-verity: - use softirq context only when !need_resched() - fix a memory leak if some arguments are specified multiple times - dm-mpath: - interface for explicit probing of active paths - replace spin_lock_irqsave with spin_lock_irq - dm-delay: don't busy-wait in kthread - dm-bufio: remove maximum age based eviction - dm-flakey: various fixes - vdo indexer: don't read request structure after enqueuing - dm-zone: Use bdev_*() helper functions where applicable - dm-mirror: fix a tiny race condition - dm-stripe: small code cleanup * tag 'for-6.16/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (29 commits) dm-stripe: small code cleanup dm-verity: fix a memory leak if some arguments are specified multiple times dm-mirror: fix a tiny race condition dm-table: check BLK_FEAT_ATOMIC_WRITES inside limits_lock dm mpath: replace spin_lock_irqsave with spin_lock_irq dm-mpath: Don't grab work_mutex while probing paths dm-zone: Use bdev_*() helper functions where applicable dm vdo indexer: don't read request structure after enqueuing dm: pass through operations on wrapped inline crypto keys blk-crypto: export wrapped key functions dm-table: Set BLK_FEAT_ATOMIC_WRITES for target queue limits dm mpath: Interface for explicit probing of active paths dm: Allow .prepare_ioctl to handle ioctls directly dm-flakey: make corrupting read bios work dm-flakey: remove useless ERROR_READS check in flakey_end_io dm-flakey: error all IOs when num_features is absent dm-flakey: Clean up parsing messages dm: remove unneeded kvfree from alloc_targets dm-bufio: remove maximum age based eviction dm-verity: use softirq context only when !need_resched() ...
Showing the changes to include/uapi/linux (1 of 27 files). Show all
Unified · Split
| @@ -258,10 +258,12 @@ enum { · 257 unmodified lines | ||
| 258 | 258 | DM_DEV_SET_GEOMETRY_CMD, |
| 259 | 259 | DM_DEV_ARM_POLL_CMD, |
| 260 | 260 | DM_GET_TARGET_VERSION_CMD, |
| 261 | + DM_MPATH_PROBE_PATHS_CMD, | |
| 261 | 262 | }; |
| 262 | 263 | |
| 263 | 264 | #define DM_IOCTL 0xfd |
| 264 | 265 | |
| 266 | +/* Control device ioctls */ | |
| 265 | 267 | #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl) |
| 266 | 268 | #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl) |
| 267 | 269 | #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl) |
| @@ -285,10 +287,13 @@ enum { · 17 unmodified lines | ||
| 285 | 287 | #define DM_TARGET_MSG _IOWR(DM_IOCTL, DM_TARGET_MSG_CMD, struct dm_ioctl) |
| 286 | 288 | #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl) |
| 287 | 289 | |
| 290 | +/* Block device ioctls */ | |
| 291 | +#define DM_MPATH_PROBE_PATHS _IO(DM_IOCTL, DM_MPATH_PROBE_PATHS_CMD) | |
| 292 | + | |
| 288 | 293 | #define DM_VERSION_MAJOR 4 |
| 289 | −#define DM_VERSION_MINOR 49 | |
| 294 | +#define DM_VERSION_MINOR 50 | |
| 290 | 295 | #define DM_VERSION_PATCHLEVEL 0 |
| 291 | −#define DM_VERSION_EXTRA "-ioctl (2025-01-17)" | |
| 296 | +#define DM_VERSION_EXTRA "-ioctl (2025-04-28)" | |
| 292 | 297 | |
| 293 | 298 | /* Status bits */ |
| 294 | 299 | #define DM_READONLY_FLAG (1 << 0) /* In/Out */ |