From: =?ISO-8859-1?Q?J=E9r=F4me_Petazzoni?= Subject: Re: Problems with dom0 and low memory Date: Tue, 07 Dec 2004 22:47:55 +0100 Message-ID: <41B6250B.6080008@enix.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > If under tight memory conditions you get errors from the blkdev layer > in DOM0 then the backend driver will simply send those erros back to > the frontend, which will pass the error up into xenU's blkdev layer. > What ext3 then does with that error is not really Xen's problem -- a > similar low-memory condition running directly on the hardware (i.e., > without Xen) would likely have the same outcome. I totally agree. But dom0 should rather display a nice "blkdev backend driver ran out of memory" instead of this ugly stack dump. Unless the problem comes from Linux code, and is forwarded by Xen "as-is", since Xen itself doesn't now more details about it ? Also, it would be nice to be able to select between the following behaviours when such an error occurs : - abort the block device totally (the error gets noticed at once) - switch the block device to read-only to prevent further corruption - continue operation (like now) This would be philosophically equivalent to the "errors=panic/continue/remount-to" behaviours ... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/