Re: Is using the 'discard' mount option safe on an rbd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux