From: Josh Durgin <josh.durgin@inktank.com>
To: Nick Bartos <nick@pistoncloud.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Is using the 'discard' mount option safe on an rbd?
Date: Thu, 06 Sep 2012 15:14:48 -0700 [thread overview]
Message-ID: <50492058.2030608@inktank.com> (raw)
In-Reply-To: <CAPud5_62LcGbmdQEdOP+KgdO4y6t=A6OvW3f9s8hxg5ULD-inA@mail.gmail.com>
On 09/06/2012 02:57 PM, Nick Bartos wrote:
> Is it safe to use the discard mount option when mounting a xfs
> filesystem on an rbd (using the kernel driver)? We're currently using
> kernel 3.5.3 and Ceph 0.48.1.
The kernel rbd driver doesn't support discard yet
(http://tracker.newdream.net/issues/190).
> Also, are there any stability issues doing it from a qemu VM? It
> looks like support for rbd discard was added in qemu 1.1, but I wasn't
> sure how stable it was.
There was one bug (http://tracker.newdream.net/issues/2958) whose fix
will be in the next release. Note that you need an extra qemu option
(http://tracker.newdream.net/issues/2777) for the guest to detect
discard support.
Josh
prev parent reply other threads:[~2012-09-06 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 21:57 Is using the 'discard' mount option safe on an rbd? Nick Bartos
2012-09-06 22:14 ` Josh Durgin [this message]
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=50492058.2030608@inktank.com \
--to=josh.durgin@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=nick@pistoncloud.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox