All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000?
@ 2015-11-30 11:35 Eric Ren
  2015-11-30 13:13 ` Junxiao Bi
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Ren @ 2015-11-30 11:35 UTC (permalink / raw
  To: ocfs2-devel

Hi all,

I found there is an odd lockres P000000000000000000000000000000 for me, so I'm
curious about what this lockres stands for?

1. #dmesg
...
[ 7657.554057] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3904 lockres
P000000000000000000000000000000 blocked
[ 7657.554059] (ocfs2dc,4061,1):ocfs2_prepare_downconvert:3248 lockres
P000000000000000000000000000000, level 5 => 0, blocking 5
[ 7657.554062] (ocfs2dc,4061,1):ocfs2_downconvert_lock:3266 lockres
P000000000000000000000000000000, level 5 => 0
[ 7657.554066] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3928 lockres
P000000000000000000000000000000, requeue = no.
[ 7657.554070] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
lockres M0000000000000000011a1800000000, action 3, unlock 0, level 5 =>
0
[ 7657.554073] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
lockres P000000000000000000000000000000, action 3, unlock 0, level 5 =>
0
...

2. n1:/debug/dlm # echo "locate <P000000000000000000000000000000>" |
debugfs.ocfs2 /dev/sda2 
debugfs.ocfs2 1.8.2
debugfs: usage: locate <inode#>
debugfs: 

3. n1:/debug/dlm # echo "stat <P000000000000000000000000000000>" |
debugfs.ocfs2 /dev/sda2 
debugfs.ocfs2 1.8.2
debugfs: stat: Directory entry not found
'<P000000000000000000000000000000>'
debugfs: 

4. n1:/debug/dlm # echo "locate <M0000000000000000011a1800000000>" |
debugfs.ocfs2 /dev/sda2 
debugfs.ocfs2 1.8.2
debugfs:        72216   /file
debugfs: 

I know "M" refter to Metadata, but what's "P" here refer to?
Any help will be appreciated!

Thanks,
Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000?
  2015-11-30 11:35 [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000? Eric Ren
@ 2015-11-30 13:13 ` Junxiao Bi
  2015-12-01  3:18   ` Eric Ren
  0 siblings, 1 reply; 3+ messages in thread
From: Junxiao Bi @ 2015-11-30 13:13 UTC (permalink / raw
  To: ocfs2-devel

Hi Eric,

It?s orphan scan lock. For more lock type and format, please refer to fs/ocfs2/ocfs2_lockid.h

Thanks,
Junxiao.
> ? 2015?11?30????7:35?Eric Ren <zren@suse.com> ???
> 
> Hi all,
> 
> I found there is an odd lockres P000000000000000000000000000000 for me, so I'm
> curious about what this lockres stands for?
> 
> 1. #dmesg
> ...
> [ 7657.554057] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3904 lockres
> P000000000000000000000000000000 blocked
> [ 7657.554059] (ocfs2dc,4061,1):ocfs2_prepare_downconvert:3248 lockres
> P000000000000000000000000000000, level 5 => 0, blocking 5
> [ 7657.554062] (ocfs2dc,4061,1):ocfs2_downconvert_lock:3266 lockres
> P000000000000000000000000000000, level 5 => 0
> [ 7657.554066] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3928 lockres
> P000000000000000000000000000000, requeue = no.
> [ 7657.554070] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
> lockres M0000000000000000011a1800000000, action 3, unlock 0, level 5 =>
> 0
> [ 7657.554073] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
> lockres P000000000000000000000000000000, action 3, unlock 0, level 5 =>
> 0
> ...
> 
> 2. n1:/debug/dlm # echo "locate <P000000000000000000000000000000>" |
> debugfs.ocfs2 /dev/sda2 
> debugfs.ocfs2 1.8.2
> debugfs: usage: locate <inode#>
> debugfs: 
> 
> 3. n1:/debug/dlm # echo "stat <P000000000000000000000000000000>" |
> debugfs.ocfs2 /dev/sda2 
> debugfs.ocfs2 1.8.2
> debugfs: stat: Directory entry not found
> '<P000000000000000000000000000000>'
> debugfs: 
> 
> 4. n1:/debug/dlm # echo "locate <M0000000000000000011a1800000000>" |
> debugfs.ocfs2 /dev/sda2 
> debugfs.ocfs2 1.8.2
> debugfs:        72216   /file
> debugfs: 
> 
> I know "M" refter to Metadata, but what's "P" here refer to?
> Any help will be appreciated!
> 
> Thanks,
> Eric
> 
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000?
  2015-11-30 13:13 ` Junxiao Bi
@ 2015-12-01  3:18   ` Eric Ren
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Ren @ 2015-12-01  3:18 UTC (permalink / raw
  To: ocfs2-devel

Hi Junxiao,

On 11/30/2015 09:13 PM, Junxiao Bi wrote:
> Hi Eric,
>
> It?s orphan scan lock. For more lock type and format, please refer to fs/ocfs2/ocfs2_lockid.h
Great! Thanks~
Eric
> Thanks,
> Junxiao.
>> ? 2015?11?30????7:35?Eric Ren <zren@suse.com> ???
>>
>> Hi all,
>>
>> I found there is an odd lockres P000000000000000000000000000000 for me, so I'm
>> curious about what this lockres stands for?
>>
>> 1. #dmesg
>> ...
>> [ 7657.554057] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3904 lockres
>> P000000000000000000000000000000 blocked
>> [ 7657.554059] (ocfs2dc,4061,1):ocfs2_prepare_downconvert:3248 lockres
>> P000000000000000000000000000000, level 5 => 0, blocking 5
>> [ 7657.554062] (ocfs2dc,4061,1):ocfs2_downconvert_lock:3266 lockres
>> P000000000000000000000000000000, level 5 => 0
>> [ 7657.554066] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3928 lockres
>> P000000000000000000000000000000, requeue = no.
>> [ 7657.554070] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
>> lockres M0000000000000000011a1800000000, action 3, unlock 0, level 5 =>
>> 0
>> [ 7657.554073] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
>> lockres P000000000000000000000000000000, action 3, unlock 0, level 5 =>
>> 0
>> ...
>>
>> 2. n1:/debug/dlm # echo "locate <P000000000000000000000000000000>" |
>> debugfs.ocfs2 /dev/sda2
>> debugfs.ocfs2 1.8.2
>> debugfs: usage: locate <inode#>
>> debugfs:
>>
>> 3. n1:/debug/dlm # echo "stat <P000000000000000000000000000000>" |
>> debugfs.ocfs2 /dev/sda2
>> debugfs.ocfs2 1.8.2
>> debugfs: stat: Directory entry not found
>> '<P000000000000000000000000000000>'
>> debugfs:
>>
>> 4. n1:/debug/dlm # echo "locate <M0000000000000000011a1800000000>" |
>> debugfs.ocfs2 /dev/sda2
>> debugfs.ocfs2 1.8.2
>> debugfs:        72216   /file
>> debugfs:
>>
>> I know "M" refter to Metadata, but what's "P" here refer to?
>> Any help will be appreciated!
>>
>> Thanks,
>> Eric
>>
>> _______________________________________________
>> Ocfs2-devel mailing list
>> Ocfs2-devel at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-01  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 11:35 [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000? Eric Ren
2015-11-30 13:13 ` Junxiao Bi
2015-12-01  3:18   ` Eric Ren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.