[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120102161803.GA32365@infradead.org>
Date: Mon, 2 Jan 2012 11:18:03 -0500
From: Christoph Hellwig <hch@...radead.org>
To: Stefan Hajnoczi <stefanha@...il.com>
Cc: Minchan Kim <minchan@...nel.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Chris Wright <chrisw@...s-sol.org>,
Jens Axboe <axboe@...nel.dk>,
Stefan Hajnoczi <stefanha@...ux.vnet.ibm.com>,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>,
Vivek Goyal <vgoyal@...hat.com>
Subject: Re: [PATCH 0/6][RFC] virtio-blk: Change I/O path from request to BIO
On Sun, Jan 01, 2012 at 04:45:42PM +0000, Stefan Hajnoczi wrote:
> win. The fact that you added batching suggests there is some benefit
> to what the request-based code path does. So find out what's good
> about the request-based code path and how to get the best of both
> worlds.
Batching pretty much always is a winner. The maximum bio size is small
enough that we'll frequently see multiple contiguos bios. Because of
that the Md layer fo example uses the same kind of batching. I've tried
to make this more general by passing a bio list to ->make_request and
make the on-stack plugging work on bios, but in the timeslice I had
available for that I didn't manage to actually make it work.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists