Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933537AbaGOTlR (ORCPT ); Tue, 15 Jul 2014 15:41:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933394AbaGOTlO (ORCPT ); Tue, 15 Jul 2014 15:41:14 -0400 Date: Tue, 15 Jul 2014 15:40:51 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: "Alasdair G. Kergon" , Mike Snitzer , Jonathan Brassow , Edward Thornber , "Martin K. Petersen" , Jens Axboe , Christoph Hellwig cc: dm-devel@redhat.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCH 10/15] dm linear: support copy In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support copy operation in the linear target. Signed-off-by: Mikulas Patocka --- drivers/md/dm-linear.c | 1 + 1 file changed, 1 insertion(+) Index: linux-3.16-rc4/drivers/md/dm-linear.c =================================================================== --- linux-3.16-rc4.orig/drivers/md/dm-linear.c 2014-07-11 22:20:27.000000000 +0200 +++ linux-3.16-rc4/drivers/md/dm-linear.c 2014-07-11 22:22:20.000000000 +0200 @@ -56,6 +56,7 @@ static int linear_ctr(struct dm_target * ti->num_flush_bios = 1; ti->num_discard_bios = 1; ti->num_write_same_bios = 1; + ti->copy_supported = 1; ti->private = lc; return 0; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/