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>
This commit is contained in:
committed by
Mikulas Patocka
parent
7017ded001
commit
396a27e912
@@ -369,12 +369,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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user