++++ Mail from Bhavna Sarathy +++++ Karen's team reported that only gluster backend has an issue with thin provisioning in RHEL 7.0. Note that thin provisioning works on all other major backends. It's in our best interest to add this support to RHEL 7. I strongly suggest we do not wait till 7.1. https://bugzilla.redhat.com/show_bug.cgi?id=1055487 Please add other from your team to the thread, if you would like clarification from the KVM team.
> I strongly suggest we do not wait till 7.1. I would be very surprised if it were possible to do this in 7.0. The discard and zerofill APIs are not provided by libgfapi, are they even supported in the backend?
zerofill is new in 3.5.
What's progress for this bug? It maybe will block our KVM QE testing for ThinProvisioning with GlusterFS backends in qemu-kvm-rhev7.1, could you help to resolve this bug soon, thanks. Best Regards, sluo
This should be fixed by the 3.6 rebase. /usr/include/glusterfs/api/glfs.h includes the relevant functions: int glfs_discard(glfs_fd_t *fd, off_t offset, size_t len) __THROW; int glfs_discard_async (glfs_fd_t *fd, off_t length, size_t lent, glfs_io_cbk fn, void *data) __THROW; int glfs_zerofill(glfs_fd_t *fd, off_t offset, off_t len) __THROW; int glfs_zerofill_async (glfs_fd_t *fd, off_t length, off_t len, glfs_io_cbk fn, void *data) __THROW; I'd rather have the RHS folks answer the question definitively, though.
(In reply to Paolo Bonzini from comment #8) > This should be fixed by the 3.6 rebase. /usr/include/glusterfs/api/glfs.h > includes the relevant functions: > > int glfs_discard(glfs_fd_t *fd, off_t offset, size_t len) __THROW; > > > int glfs_discard_async (glfs_fd_t *fd, off_t length, size_t lent, > glfs_io_cbk fn, void *data) __THROW; > > int glfs_zerofill(glfs_fd_t *fd, off_t offset, off_t len) __THROW; > > int glfs_zerofill_async (glfs_fd_t *fd, off_t length, off_t len, > glfs_io_cbk fn, void *data) __THROW; > > I'd rather have the RHS folks answer the question definitively, though. This is correct. The 3.6 rebase introduces these APIs in RHEL.
This bug can be closed. As Vijay mentioned in Comment#9, the required API was made available by the rebase to glusterfs-3.6. The APIs should be available in RHS-3.0 and RHGS-3.1 releases.
Based on #c11 closing this bug