Re: [PATCH V5 3/4] virtio-blk: Add bio-based IO path for virtio-blk

From: Asias He
Date: Fri Aug 03 2012 - 03:09:00 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/