From: Laurent Vivier Subject: Re: [PATCH] qemu: use statically allocate 512 byte buffer in the stack for sector in bdrv_commit Date: Mon, 07 Jan 2008 16:45:49 +0100 Message-ID: <1199720749.23380.29.camel@frecb07144> References: <20080104071138.GB9285@tapir> <4781F08E.8060407@qumranet.com> <1199701358.19008.1.camel@frecb07144> <4782034C.4000805@qumranet.com> <1199719004.23380.22.camel@frecb07144> <90eb1dc70801070734l2062cac6r7a7bed1d6d3d2c0c@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1184548484==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Javier Guerra Return-path: In-Reply-To: <90eb1dc70801070734l2062cac6r7a7bed1d6d3d2c0c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --===============1184548484== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iGbWCllR/RTsYgxUJNWw" --=-iGbWCllR/RTsYgxUJNWw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le lundi 07 janvier 2008 =C3=A0 10:34 -0500, Javier Guerra a =C3=A9crit : > On 1/7/08, Laurent Vivier wrote: > > What I'm wondering now is: is it really useful to have "cache=3Doff" an= d > > "snapshot=3Don" at the same time ? >=20 > does "cache=3Doff" means disk cache? if so, it might be useful to test > clustering filesystems. "cache=3Doff" means files is opened with "O_DIRECT" and thus there is no cache in the kernel memory on the host side. IMO, "cache=3Doff" and "snapshot=3Don" are incompatible because a snapshot can be seen like a cache. > so far, the only way is to setup a network block device (iSCSI, AoE, > nbd). i'd like to simply specify the same backing file for two > instances' hdb parameter. I'm sorry but I don't understand this part. > and snapshots help a lot to go back after blowing up the on-disk structur= es But I think if you use a snapshot there is no reason to use "cache=3Doff" Laurent --=20 ----------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org ------------------ "La perfection est atteinte non quand il ne reste rien =C3=A0 ajouter mais quand il ne reste rien =C3=A0 enlever." Saint Exup=C3=A9ry --=-iGbWCllR/RTsYgxUJNWw Content-Type: application/pgp-signature; name=signature.asc Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHgkkt9Kffa9pFVzwRAitQAJ4kaiDpWektg0wbBYqtPF+7R9DtSwCgtVhc u/ZulCjcNJZNFBxW/BPn0Q4= =DbcP -----END PGP SIGNATURE----- --=-iGbWCllR/RTsYgxUJNWw-- --===============1184548484== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1184548484== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1184548484==--