dm linear: add WRITE SAME support
authorMike Snitzer <snitzer@redhat.com>
Fri, 21 Dec 2012 20:23:37 +0000 (20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:37 +0000 (20:23 +0000)
commit4f0b70b0479101522b8645ddc1f5ee7137821db3
treeb149c9faa420893ec5d35a227d9de5bd8cfde461
parent23508a96cd2e857d57044a2ed7d305f2d9daf441
dm linear: add WRITE SAME support

The linear target can already support WRITE SAME requests so signal
this by setting num_write_same_requests to 1.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-linear.c