[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2] Add new attribute writeout to <filesystem> element



On 12/22/2011 03:20 PM, Eric Blake wrote:
>  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>

Right, other types of drivers might include a userspace NFS client, or some kind of "artificial" filesystem.

In addition, instead of write='immediate' I suggest cache='writeback'/cache='writethrough'.

Paolo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]