Maxim, and what about 2.6.32-x kernel? Need the patch there as well?
-- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 12/24/2015 03:55 AM, Maxim Patlasov wrote:
kaio doesn't support WRITE SAME, so the patch disables it https://jira.sw.ru/browse/PSBM-41965 Signed-off-by: Maxim Patlasov <mpatla...@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)
_______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel