6225 NFSv4: setlock() can spin forever
Review Request #95 — Created Sept. 12, 2015 and submitted — Latest diff uploaded
There are various scenarios known when the setlock() can spin forever (please see the bug report for details). The fix makes sure the endless setlock() spinning is no longer possible.
I ran the test described in the bug report (without the Bug #6253 fixed) to
make sure the problem is no longer reproducible. I checked using the dtrace
that the retry loop in setlock() is limited as designed.