Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753258Ab2HCHJG (ORCPT ); Fri, 3 Aug 2012 03:09:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50980 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753005Ab2HCHI6 (ORCPT ); Fri, 3 Aug 2012 03:08:58 -0400 Message-ID: <501B7989.2080903@redhat.com> Date: Fri, 03 Aug 2012 15:11:05 +0800 From: Asias He User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: "Michael S. Tsirkin" CC: linux-kernel@vger.kernel.org, Rusty Russell , Jens Axboe , Christoph Hellwig , Tejun Heo , Shaohua Li , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, Minchan Kim Subject: Re: [PATCH V5 3/4] virtio-blk: Add bio-based IO path for virtio-blk References: <1343888757-25723-1-git-send-email-asias@redhat.com> <1343888757-25723-4-git-send-email-asias@redhat.com> <20120802222814.GA5854@redhat.com> In-Reply-To: <20120802222814.GA5854@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 28 On 08/03/2012 06:28 AM, Michael S. Tsirkin wrote: > On Thu, Aug 02, 2012 at 02:25:55PM +0800, Asias He wrote: >> diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c >> index c0bbeb4..95cfeed 100644 >> --- a/drivers/block/virtio_blk.c >> +++ b/drivers/block/virtio_blk.c >> @@ -14,6 +14,9 @@ >> >> #define PART_BITS 4 >> >> +static bool use_bio; >> +module_param(use_bio, bool, S_IRUGO); >> + >> static int major; >> static DEFINE_IDA(vd_index_ida); >> > > OK, but eventually, you plan to make this use a feature bit, yes? Yes, I think so. -- Asias -- 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/