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-api

RE: [Xen-API] [PATCH 0 of 4] CA-38567: Make Xapi more I/O error sensitiv

To: Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>, Xen API <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] [PATCH 0 of 4] CA-38567: Make Xapi more I/O error sensitive
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Sat, 6 Mar 2010 14:12:57 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Sat, 06 Mar 2010 06:13:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1267831255@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1267831255@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq8uq+RpicA4DaQSmGl52XnEPa0vwAe79BQ
Thread-topic: [Xen-API] [PATCH 0 of 4] CA-38567: Make Xapi more I/O error sensitive
Hi Daniel,

Thanks for sending these patches! My only question is: can you explain when you 
would expect to see this new error? Does it imply the storage server or the 
storage network has failed (e.g. some iSCSI or NFS softmount timeout)? Should 
we ask the user to go check their cabling, storage server logs etc?

Cheers,
Dave

> -----Original Message-----
> From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Daniel Stodden
> Sent: 05 March 2010 23:21
> To: Xen API
> Subject: [Xen-API] [PATCH 0 of 4] CA-38567: Make Xapi more I/O error
> sensitive
> 
> 
> VDI copy/init/provision ops in xapi are all buffered. Means I/O
> completes only deferred. The agent should carefully sync back buffers
> to disk and test file status, or gust corruption goes unnoticed.
> 
> Presently covers:
>  * XVA import
>  * Raw VDI import
>  * VDI.copy
>  * VM.provision (e.g. the Debian Etch post-installation script)
> 
> There might be more, which I've been missing then.
> 
> Some of the changes below just use O_SYNC on the output fd. Most
> assume a prior xen-api-libs patch to make Unixext.fsync provide the
> necessary error detail. See related hg-email.
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api