All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre DERUMIER <aderumier@odiso.com>
To: ceph-devel <ceph-devel@vger.kernel.org>
Subject: using discard from qemu guest when snapshot exist, fill the rbd layer with zeroes and use more space
Date: Fri, 17 Jun 2016 11:10:54 +0200 (CEST)	[thread overview]
Message-ID: <1498621012.13671278.1466154654173.JavaMail.zimbra@oxygem.tv> (raw)

Hi,

I'm using fstrim inside my qemu guests to remove unused space from the rbd storage.

This is working fine, but I just notice that if a snapshot exist,

It just do the reverse, it's filling the snasphot with zeroes, and the total cluster space is growing.

It's is possible to avoid that ?


Regards,

Alexandre

             reply	other threads:[~2016-06-17  9:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17  9:10 Alexandre DERUMIER [this message]
2016-06-17 13:21 ` using discard from qemu guest when snapshot exist, fill the rbd layer with zeroes and use more space Jason Dillaman
2016-06-18  7:40   ` Alexandre DERUMIER
     [not found]     ` <2080661916.17082708.1466242175934.JavaMail.zimbra@oxygem.tv>
2016-06-18 12:08       ` Jason Dillaman

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=1498621012.13671278.1466154654173.JavaMail.zimbra@oxygem.tv \
    --to=aderumier@odiso.com \
    --cc=ceph-devel@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.