summaryrefslogtreecommitdiff
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-07-04 16:45:00 +0300
committerMikulas Patocka <mpatocka@redhat.com>2024-07-10 14:10:06 +0300
commit396a27e91265a6632be17bebacb6743f0b9447be (patch)
tree7a9395ee70f8dc256053c7840c3b5d190d45d39d /include/linux/device-mapper.h
parent7017ded001076593e03540840a5f5b80209bab67 (diff)
downloadlinux-396a27e91265a6632be17bebacb6743f0b9447be.tar.xz
dm: Remove max_write_zeroes_granularity
The max_write_zeroes_granularity boolean of struct dm_target is used in __process_abnormal_io() but never set by any target. Remove this field and the dead code using it. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 3611b230d0aa..5b7e96653ec6 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -370,12 +370,6 @@ struct dm_target {
bool max_secure_erase_granularity:1;
/*
- * Set if this target requires that write_zeroes be split on
- * 'max_write_zeroes_sectors' boundaries.
- */
- bool max_write_zeroes_granularity:1;
-
- /*
* Set if we need to limit the number of in-flight bios when swapping.
*/
bool limit_swap_bios:1;