]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a9188e533aec618869cdfab0da1aa662963218e
treeb149c9faa420893ec5d35a227d9de5bd8cfde461
parent53e4b0875f687402f8ada987da93423cf3ce01d6
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