|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [patch 0/6] xenblk: Add O_DIRECT and O_SYNC support.
On 6/11/08 08:51, "Jens Axboe" <jens.axboe@xxxxxxxxxx> wrote:
> I guess he needs that for waiting on them, but it really should just do:
>
> struct bio *bio = NULL;
>
> loop {
> if (bio) {
> submit_bio(bio, ...);
> bio = NULL;
> }
> bio = bio_alloc(...);
> ...
> }
>
> if (bio)
> submit_bio(bio, ...);
>
> and be done with it.
Yes, I can put together a patch for that easily enough, I think.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |