Red Hat Bugzilla – Bug 803637
nfs-nlm: lock not honoured if tried from different clients on same file
Last modified: 2016-01-19 01:09:45 EST
Description of problem:
mounted the same file on different clients and then tried to put up the exclusive lock on same region of single file. both of them were able to hold the lock.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. nfs mount a volume on two different clients
2. try to put the lock on same region of same file
the lock is simultaneously acquired
if lock is already held then other other should as lock mechanism used in script is blocking locks.
Just confirmed with Saurabh that there was a problem with the test script. Exclusive locking is working fine.