Re: [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000?

2015-11-30 Thread Eric Ren
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  写道:
>>
>> Hi all,
>>
>> I found there is an odd lockres P00 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
>> P00 blocked
>> [ 7657.554059] (ocfs2dc,4061,1):ocfs2_prepare_downconvert:3248 lockres
>> P00, level 5 => 0, blocking 5
>> [ 7657.554062] (ocfs2dc,4061,1):ocfs2_downconvert_lock:3266 lockres
>> P00, level 5 => 0
>> [ 7657.554066] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3928 lockres
>> P00, requeue = no.
>> [ 7657.554070] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
>> lockres M011a18, action 3, unlock 0, level 5 =>
>> 0
>> [ 7657.554073] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
>> lockres P00, action 3, unlock 0, level 5 =>
>> 0
>> ...
>>
>> 2. n1:/debug/dlm # echo "locate " |
>> debugfs.ocfs2 /dev/sda2
>> debugfs.ocfs2 1.8.2
>> debugfs: usage: locate 
>> debugfs:
>>
>> 3. n1:/debug/dlm # echo "stat " |
>> debugfs.ocfs2 /dev/sda2
>> debugfs.ocfs2 1.8.2
>> debugfs: stat: Directory entry not found
>> ''
>> debugfs:
>>
>> 4. n1:/debug/dlm # echo "locate " |
>> 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@oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>


___
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

Re: [Ocfs2-devel] [QUESTION] what's lockres P000000000000000000000000000000?

2015-11-30 Thread Junxiao Bi
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  写道:
> 
> Hi all,
> 
> I found there is an odd lockres P00 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
> P00 blocked
> [ 7657.554059] (ocfs2dc,4061,1):ocfs2_prepare_downconvert:3248 lockres
> P00, level 5 => 0, blocking 5
> [ 7657.554062] (ocfs2dc,4061,1):ocfs2_downconvert_lock:3266 lockres
> P00, level 5 => 0
> [ 7657.554066] (ocfs2dc,4061,1):ocfs2_process_blocked_lock:3928 lockres
> P00, requeue = no.
> [ 7657.554070] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
> lockres M011a18, action 3, unlock 0, level 5 =>
> 0
> [ 7657.554073] (dlm_astd,4062,1):ocfs2_locking_ast:1076 AST fired for
> lockres P00, action 3, unlock 0, level 5 =>
> 0
> ...
> 
> 2. n1:/debug/dlm # echo "locate " |
> debugfs.ocfs2 /dev/sda2 
> debugfs.ocfs2 1.8.2
> debugfs: usage: locate 
> debugfs: 
> 
> 3. n1:/debug/dlm # echo "stat " |
> debugfs.ocfs2 /dev/sda2 
> debugfs.ocfs2 1.8.2
> debugfs: stat: Directory entry not found
> ''
> debugfs: 
> 
> 4. n1:/debug/dlm # echo "locate " |
> 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@oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel


___
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel