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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to