Skip to content
Commit fe7af2d3 authored by Alasdair G Kergon's avatar Alasdair G Kergon
Browse files

dm: fix write same requests counting

When processing write same requests, fix dm to send the configured
number of WRITE SAME requests to the target rather than the number of
discards, which is not always the same.

Device-mapper WRITE SAME support was introduced by commit
23508a96

 ("dm: add WRITE SAME support").

Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
Acked-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 0f640dca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment