On Thu, Jul 12, 2012 at 6:18 PM, Asias He <[email protected]> wrote:
> With Direct I/O, file reads and writes go directly from the applications
> to the storage device, bypassing the operating system read and write
> caches. This is useful for applications that manage their own caches.
>
> Open a disk image with O_DIRECT:
> $ lkvm run -d ~/img/test.img,direct
>
> The original readonly flag is still supported.
> Open a disk image with O_DIRECT and readonly:
> $ lkvm run -d ~/img/test.img,direct,ro
>
> Signed-off-by: Asias He <[email protected]>
Well, what's the use case for this?
Pekka
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html