lkml.org 
[lkml]   [2012]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2012-01-02 17:21    [W:0.066 / U:15.708 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site