[libvirt] [PATCH v2] Add new attribute writeout to <filesystem> element
Eric Blake
eblake at redhat.com
Thu Dec 22 14:20:13 UTC 2011
On 12/22/2011 03:10 AM, Deepak C Shetty wrote:
> This introduces new attribute writeout with only supported
> value as immediate. This will be an optional
> attribute with no defaults. This helps specify whether
> to skip the host page cache.
>
> When writeout is specified, meaning when writeout=immediate
> a writeback is explicitly initiated for the dirty pages in
> the host page cache as part of the guest file write operation.
>
> Usage:
> <filesystem type='mount' accessmode='passthrough' writeout='immediate'>
> <source dir='/export/to/guest'/>
> <target dir='mount_tag'/>
> </filesystem>
I still don't like the proposed XML. We need to get consensus on where
to put it, with my proposal being:
<filesystem type='mount'>
<driver type='path' write='immediate'/>
<source dir='/export/to/guest'/>
<target dir='mount_tag'/>
</filesystem>
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111222/ecfc5f38/attachment-0001.sig>
More information about the libvir-list
mailing list