All of lore.kernel.org
 help / color / mirror / Atom feed
From: Victor Stinner <victor.stinner@haypocalc.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Issues with KVM
Date: Sat, 23 Jul 2011 11:20:09 +0200	[thread overview]
Message-ID: <4E2A9249.3080006@haypocalc.com> (raw)
In-Reply-To: <CAGAVQTGdEQdS+rE-D=fd4GXgaufpdR6J5xgNUjRa+N402Ge5-g@mail.gmail.com>

Hi,

Le 22/07/2011 21:59, C Anthony Risinger a =C3=A9crit :
> ) is the host FS btrfs?
The host (Fedora) FS is btrfs, the VM (Debian) uses ext4 (or maybe ext3=
,=20
I will have to check).
> ) are virtio modules in the initramfs (or kernel probably)?
> ) are you sure virtio is being used (eg. are the disks called vdX vs =
sdX)?
> ) is the disk bus set to virtio (virtmanager)?
I'm not sure. I will have to check.
> ) is the disk's cache mode set to none [or maybe writeback] (virtmana=
ger)?
I don't remember, I will check.

What is the effect of this option? (What is the effect on the host FS=20
(btrfs)?)
> ) is the disk's storage format set to "raw", should be (virtmanager)?
Yes, the image type is "raw".
> ) is caching enabled on the image? ()
What do you mean? Is it possible to enable or disable the cache on a=20
specific file on the host (Fedora, btrfs)? Or you mean set cache to non=
e=20
in the configuration of the VM?
> probably need to change the cache mode on the disk, or if the host is
> btrfs you need to flag the image with whetever is needed to prevent
> continuous COWing.
Can nodatacow option of btrfs have an effect on this issue? Is it=20
possible to set this option for a specific file or directory?

Victor

PS: I have subscribed to the mailing list.

PS2: I'm not at home this week-end, I will check monday.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-07-23  9:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 19:44 Issues with KVM Victor Stinner
2011-07-22 19:59 ` C Anthony Risinger
2011-07-22 20:00   ` C Anthony Risinger
2011-07-23  9:20   ` Victor Stinner [this message]
2011-07-25 14:04   ` Victor Stinner
2011-07-25 16:22     ` Christoph Hellwig
2011-07-22 20:44 ` Josef Bacik
2011-07-22 21:03 ` Morten P.D. Stevens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2A9249.3080006@haypocalc.com \
    --to=victor.stinner@haypocalc.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.