dm table: add immutable feature
Introduce DM_TARGET_IMMUTABLE to indicate that the target type cannot be mixed
with any other target type, and once loaded into a device, it cannot be
replaced with a table containing a different type.
The thin provisioning pool device will use this.
Signed-off-by:
Alasdair G Kergon <agk@redhat.com>
Showing
- drivers/md/dm-ioctl.c 11 additions, 0 deletionsdrivers/md/dm-ioctl.c
- drivers/md/dm-table.c 21 additions, 0 deletionsdrivers/md/dm-table.c
- drivers/md/dm.c 9 additions, 0 deletionsdrivers/md/dm.c
- drivers/md/dm.h 2 additions, 0 deletionsdrivers/md/dm.h
- include/linux/device-mapper.h 7 additions, 0 deletionsinclude/linux/device-mapper.h
- include/linux/dm-ioctl.h 2 additions, 2 deletionsinclude/linux/dm-ioctl.h
Loading
Please register or sign in to comment