Home
last modified time | relevance | path

Searched hist:"00065 f925efb077ade3e7fea49150d798cf87d05" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-zero.cdiff 00065f925efb077ade3e7fea49150d798cf87d05 Tue Apr 04 10:19:33 CDT 2023 Mikulas Patocka <mpatocka@redhat.com> dm zero: add discard support

Add zero_io_hints() and set discard limits so that the zero target
advertises support for discards.

The zero target will ignore discards.

This is useful when the user combines dm-zero with other
discard-supporting targets in the same table; without dm-zero support,
discards would be disabled for the whole combined device.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Tested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>