Patch posted at http://review.gluster.org/#/c/9343/
This bug is fixed by following patches which is already merged: http://review.gluster.org/#/c/9415/ http://review.gluster.org/#/c/9403/