]> git.baikalelectronics.ru Git - kernel.git/commit
NLM: Ensure that we resend all pending blocking locks after a reclaim
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 19 Feb 2013 17:04:42 +0000 (12:04 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 19 Feb 2013 17:18:27 +0000 (12:18 -0500)
commit9fa7e5b3db16e9ef4e57a7489e63d91236fcf802
treec8aca4461673f4e2a294be8bf913ff1af64c8e8b
parent7284e2a8be22f319cacbf6ae58cae2ac70f9baf2
NLM: Ensure that we resend all pending blocking locks after a reclaim

Currently, nlmclnt_lock will break out of the for(;;) loop when
the reclaimer wakes up the blocking lock thread by setting
nlm_lck_denied_grace_period. This causes the lock request to fail
with an ENOLCK error.
The intention was always to ensure that we resend the lock request
after the grace period has expired.

Reported-by: Wangyuan Zhang <Wangyuan.Zhang@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
fs/lockd/clntproc.c