xenblk: Add O_DIRECT and O_SYNC support.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Jens Axboe
Quoted 3 lines
Quoted 1 line
and be done with it.
Yes, I can put together a patch for that easily enough, I think.
Should be easy enough. Also be sure to defer any unplugging of the device until the very end, to still make a lot of room for merging and sorting.
http://xenbits.xensource.com/staging/linux-2.6.18-xen.hg c/s 723
-- Keir
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Jens Axboe
Quoted 10 lines · Keir Fraser
Quoted 7 lines · Jens Axboe
Quoted 3 lines
Quoted 1 line
and be done with it.
Yes, I can put together a patch for that easily enough, I think.
Should be easy enough. Also be sure to defer any unplugging of the device until the very end, to still make a lot of room for merging and sorting.
Quoted 7 lines
Quoted 1 line
http://xenbits.xensource.com/staging/linux-2.6.18-xen.hg c/s 723
Looks fine, but you can also get rid of the
fail_put_bioand check for NULL return frombio_alloc(), since it'll never fail if you useGFP_KERNELas the allocation mask. That's why you cannot nest allocations as well.
OK, will take a testing for this patch, thanks all.
Joe