WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] O_DIRECT for file-backed dom-U devices?

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] O_DIRECT for file-backed dom-U devices?
From: Roland Paterson-Jones <roland@xxxxxxxxxxxx>
Date: Wed, 11 May 2005 17:28:01 +0200
Delivery-date: Wed, 11 May 2005 16:00:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Hi again

It struck me that dom-U and dom-0 might be inadvertantly caching the same data.

For example, if a dom-U device is backed by a dom-0 device, is there anything specifically stopping dom-0 from caching the underlying block device (I presume theres some block-device-level caching?).

Even worse, with dom-U device backed by a loop-back file, it seems that the same data could be cached in dom-U at the file level and block level, and then again in dom-0 (for the FS containing the loop-back file) at the file and block level.

Are loop-back files specifically opened with O_DIRECT or similar when mounted as loop-back to prevent this?

Or maybe I'm just confused.
Roland




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] O_DIRECT for file-backed dom-U devices?, Roland Paterson-Jones <=