From: Christoph Hellwig <hch@infradead.org>
To: Alphe Salas <asalas@kepler.cl>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Forever growing data in ceph using RBD image
Date: Thu, 17 Jul 2014 09:47:12 -0700 [thread overview]
Message-ID: <20140717164712.GA4690@infradead.org> (raw)
In-Reply-To: <53C7D97D.3010607@kepler.cl>
On Thu, Jul 17, 2014 at 10:11:09AM -0400, Alphe Salas wrote:
> Usually when I talk to dev team about this problem they tell me that the
> real problem is the lack of trim in XFS, but my own analysis shows that the
> real problem is ceph internal way to handle data. It is ceph that never
> discard any replicas and never "clean" itself to only keep records of the
> data in use.
XFS supports TRIM just fine - with -o discard it will issue TRIMs on
unlink, and with fstrim you can do it explicitly. Note that the online
discard might be very slow for all Linux filesystems, although I've not
actually tested it on top of RBD.
next prev parent reply other threads:[~2014-07-17 16:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-17 14:11 Forever growing data in ceph using RBD image Alphe Salas
2014-07-17 16:35 ` Sage Weil
2014-07-17 18:13 ` Alphe Salas
2014-07-17 18:27 ` Sage Weil
2014-07-17 18:53 ` Alphe Salas
2014-07-17 18:57 ` Christoph Hellwig
2014-07-17 19:19 ` Alphe Salas
2014-07-17 19:28 ` Sage Weil
2014-07-17 21:24 ` Alphe Salas
2014-08-06 19:02 ` Alphe Salas
2014-07-17 16:47 ` Christoph Hellwig [this message]
2014-07-17 18:17 ` Alphe Salas
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=20140717164712.GA4690@infradead.org \
--to=hch@infradead.org \
--cc=asalas@kepler.cl \
--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.