[Bugs] [Bug 1496326] [GNFS+EC] lock is being granted to 2 different client for the same data range at a time after performing lock acquire /release from the clients1

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 27 05:22:24 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1496326



--- Comment #1 from Pranith Kumar K <pkarampu at redhat.com> ---
Description of problem:
When the lock is taken by client1 and the other i.e client2 tries to take the
lock,the lock is being held(blocked) for client2 as it is already granted to
client1

Now release the lock from client1.Lock got granted to client 2.
Now again try taking lock from client1.Lock is granted,which should not.As the
file is already being locked by client 2.

How reproducible:
Consistently

Steps to Reproduce:
1.Create disperseVol 2 x (4 + 2) and Enable MDCache and GNFS on it
2.Mount the volume from single server to 2 different client
3.Create 512 Bytes of file from 1 client on mount point
4.Take lock from client 1.Lock is acquired
5.Try taking lock from client 2.Lock is blocked (as already being taken by
client 1)
6.Release lock from client1.Take lock from client2
7.Again try taking lock from client 1.

Actual results:
Lock is being granted to client1

Expected results:
Lock should not be granted to client 1 as lock is currently being held by
client 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list