dm: eliminate 'split_discard_bios' flag from DM target interface
authorMike Snitzer <snitzer@redhat.com>
Fri, 18 Jan 2019 19:19:26 +0000 (14:19 -0500)
committerMike Snitzer <snitzer@redhat.com>
Thu, 21 Feb 2019 04:24:55 +0000 (23:24 -0500)
commit61697a6abd24acba941359c6268a94f4afe4a53d
tree9c1b1de749c7479a1a9f14392c673f84f4ede9a4
parent568c73a355e0b845dc983aa59c8a8dc69294b275
dm: eliminate 'split_discard_bios' flag from DM target interface

There is no need to have DM core split discards on behalf of a DM target
now that blk_queue_split() handles splitting discards based on the
queue_limits.  A DM target just needs to set max_discard_sectors,
discard_granularity, etc, in queue_limits.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c
drivers/md/dm-raid.c
drivers/md/dm-thin.c
drivers/md/dm-zoned-target.c
drivers/md/dm.c
include/linux/device-mapper.h
include/uapi/linux/dm-ioctl.h