Bug 765394 (GLUSTER-3662)

Summary: [glusterfs-3.3.0qa11]: in statedump pid is printed as zero.
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: locksAssignee: krishnan parthasarathi <kparthas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs, kparthas, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra Bhat 2011-09-29 07:07:38 UTC
In statedump of the server where the locks information is printed, the pid of the locks is printed as 0.


xlator.feature.locks.lock-dump.domain.inodelk.inodelk[0](ACTIVE)=type=WRITE, start=6684672, len=131072, pid=0, lk-owner=99468020, transport=0x
2aaab800ac90
xlator.feature.locks.lock-dump.domain.inodelk.inodelk[1](BLOCKED)=type=WRITE, start=0, len=0, pid=0, lk-owner=140138947449988, transport=0x36cf930
xlator.feature.locks.lock-dump.domain.inodelk.inodelk[2](BLOCKED)=type=WRITE, start=0, len=0, pid=0, lk-owner=140138947465788, transport=0x36cf930
xlator.feature.locks.lock-dump.domain.inodelk.inodelk[3](BLOCKED)=type=WRITE, start=0, len=0, pid=0, lk-owner=140138947459152, transport=0x36cf930
xlator.feature.locks.lock-dump.domain.inodelk.inodelk[4](BLOCKED)=type=WRITE, start=0, len=0, pid=0, lk-owner=140138947434504, transport=0x36cf930
xlator.feature.locks.lock-dump.domain.inodelk.inodelk[5](BLOCKED)=type=WRITE, start=0, len=0, pid=0, lk-owner=140138947446196, transport=0x36cf930
xlator.feature.locks.posixlk-count.-694470368.posixlk-count=0

Comment 1 Anand Avati 2011-09-30 04:50:06 UTC
CHANGE: http://review.gluster.com/532 (Change-Id: Icaa919f3009fb70f6af9b95fceaf800f3beca447) merged in master by Vijay Bellur (vijay)

Comment 2 krishnan parthasarathi 2011-09-30 05:10:11 UTC
The fix addresses 'zero' pid in statedump, and adds times at which locks were granted and/or blocked.

Comment 3 Anand Avati 2011-10-06 02:29:05 UTC
CHANGE: http://review.gluster.com/545 (Change-Id: Ieedbfbe3ce2d4a87a8fe0e1a4322a1bb0549a2bf) merged in master by Vijay Bellur (vijay)