diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2023-04-04 11:19:33 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-04-04 13:30:17 -0400 |
commit | 00065f925efb077ade3e7fea49150d798cf87d05 (patch) | |
tree | 3d94da4faa23e88ee7175947e5236bfa1c041f47 /include/rdma | |
parent | 85c938e8914f8f0e276b8e82d4f2e4bcab044e96 (diff) | |
download | linux-stable-00065f925efb077ade3e7fea49150d798cf87d05.tar.gz linux-stable-00065f925efb077ade3e7fea49150d798cf87d05.tar.bz2 linux-stable-00065f925efb077ade3e7fea49150d798cf87d05.zip |
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>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions