commit | fe7af2d3babefabd96a39e8b0d58ede88f3c7993 | [log] [tgz] |
---|---|---|
author | Alasdair G Kergon <agk@redhat.com> | Thu Jan 31 14:23:36 2013 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Jan 31 14:23:36 2013 +0000 |
tree | 43f3facbed2274c5cec7df6ef2fc9ecdfa527f4c | |
parent | 0f640dca08330dfc7820d610578e5935b5e654b2 [diff] |
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 23508a96cd2e857d57044a2ed7d305f2d9daf441 ("dm: add WRITE SAME support"). Signed-off-by: Alasdair G Kergon <agk@redhat.com> Acked-by: Mike Snitzer <snitzer@redhat.com>