upstream patch : https://review.gluster.org/16770
downstream patch : https://code.engineering.redhat.com/gerrit/105188