Description of problem: Excerpt from man 3 usleep: "4.3BSD, POSIX.1-2001. POSIX.1-2001 declares this function obsolete; use nanosleep(2) instead. POSIX.1-2008 removes the specification of usleep()." Alternate functions like nanosleep() can be used instead of usleep().
REVIEW: https://review.gluster.org/22911 (Replace usleep() with nanosleep()) posted (#1) for review on master by Vijay Bellur
REVIEW: https://review.gluster.org/22911 (Replace usleep() with nanosleep()) merged (#8) on master by Xavi Hernandez