[Devel] [PATCH RHEL7 COMMIT] ploop: disable WRITE SAME for io_kaio
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Dec 28 02:46:20 PST 2015
The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.9.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.9.17
------>
commit 005a6c6eabeb506bbe91dde48fcee4ef1a3903d1
Author: Maxim Patlasov <mpatlasov at virtuozzo.com>
Date: Mon Dec 28 14:46:20 2015 +0400
ploop: disable WRITE SAME for io_kaio
kaio doesn't support WRITE SAME, so the patch disables it
https://jira.sw.ru/browse/PSBM-41965
Signed-off-by: Maxim Patlasov <mpatlasov at virtuozzo.com>
---
drivers/block/ploop/io_kaio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/block/ploop/io_kaio.c b/drivers/block/ploop/io_kaio.c
index db900a3..79aa9af 100644
--- a/drivers/block/ploop/io_kaio.c
+++ b/drivers/block/ploop/io_kaio.c
@@ -946,6 +946,7 @@ static void kaio_unplug(struct ploop_io * io)
static void kaio_queue_settings(struct ploop_io * io, struct request_queue * q)
{
blk_set_stacking_limits(&q->limits);
+ blk_queue_max_write_same_sectors(q, 0);
}
static void kaio_issue_flush(struct ploop_io * io, struct ploop_request *preq)
More information about the Devel
mailing list