Bug 765394 (GLUSTER-3662) - [glusterfs-3.3.0qa11]: in statedump pid is printed as zero.
Summary: [glusterfs-3.3.0qa11]: in statedump pid is printed as zero.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3662
Product: GlusterFS
Classification: Community
Component: locks
Version: pre-release
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: krishnan parthasarathi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-29 07:07 UTC by Raghavendra Bhat
Modified: 2015-11-03 23:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.