* [Ocfs2-devel] question of dentry number
@ 2009-05-08 7:28 Coly Li
2009-05-08 7:38 ` Joel Becker
0 siblings, 1 reply; 3+ messages in thread
From: Coly Li @ 2009-05-08 7:28 UTC (permalink / raw)
To: ocfs2-devel
I observer interesting dentry number during the dlm stress testing. The ocfs2
cluster stack is user space "pcmk".
creating a empty directory, ls -al:
total 8
drwxr-xr-x 2 root root 4096 2009-05-08 15:29 .
drwxr-xr-x 4 root root 4096 2009-05-08 15:29 ..
run script make_panic on single node, for 10 seconds, ls -al:
total 12
drwxr-xr-x 2 root root 4096 2009-05-08 15:33 .
drwxr-xr-x 4 root root 4096 2009-05-08 15:29 ..
-rw-r--r-- 1 root root 0 2009-05-08 15:33 file0000000001
-rw-r--r-- 1 root root 459611068 2009-05-08 15:33 file0000000003
then run this script on ocfs2 volume of both nodes for 10 seconds, ls -al:
total 32
drwxr-xr-x 2 root root 4096 2009-05-08 15:34 .
drwxr-xr-x 4 root root 4096 2009-05-08 15:29 ..
-rw-r--r-- 1 root root 939787135 2009-05-08 15:34 file0000000000
-rw-r--r-- 1 root root 922127231 2009-05-08 15:34 file0000000001
-rw-r--r-- 1 root root 0 2009-05-08 15:34 file0000000002
-rw-r--r-- 1 root root 503703844 2009-05-08 15:34 file0000000003
I don't understand how there are 32 dentries in the directory. Can anybody tell
me the magic ? Or it's a bug.
Thanks.
--
Coly Li
SuSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Ocfs2-devel] question of dentry number
2009-05-08 7:28 [Ocfs2-devel] question of dentry number Coly Li
@ 2009-05-08 7:38 ` Joel Becker
2009-05-08 7:57 ` Coly Li
0 siblings, 1 reply; 3+ messages in thread
From: Joel Becker @ 2009-05-08 7:38 UTC (permalink / raw)
To: ocfs2-devel
On Fri, May 08, 2009 at 03:28:35PM +0800, Coly Li wrote:
> then run this script on ocfs2 volume of both nodes for 10 seconds, ls -al:
> total 32
> drwxr-xr-x 2 root root 4096 2009-05-08 15:34 .
> drwxr-xr-x 4 root root 4096 2009-05-08 15:29 ..
> -rw-r--r-- 1 root root 939787135 2009-05-08 15:34 file0000000000
> -rw-r--r-- 1 root root 922127231 2009-05-08 15:34 file0000000001
> -rw-r--r-- 1 root root 0 2009-05-08 15:34 file0000000002
> -rw-r--r-- 1 root root 503703844 2009-05-08 15:34 file0000000003
>
> I don't understand how there are 32 dentries in the directory. Can anybody tell
> me the magic ? Or it's a bug.
>
total is the number of directory blocks.
Joel
> --
> Coly Li
> SuSE Labs
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel
--
Life's Little Instruction Book #109
"Know how to drive a stick shift."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Ocfs2-devel] question of dentry number
2009-05-08 7:38 ` Joel Becker
@ 2009-05-08 7:57 ` Coly Li
0 siblings, 0 replies; 3+ messages in thread
From: Coly Li @ 2009-05-08 7:57 UTC (permalink / raw)
To: ocfs2-devel
Joel Becker Wrote:
> On Fri, May 08, 2009 at 03:28:35PM +0800, Coly Li wrote:
>> then run this script on ocfs2 volume of both nodes for 10 seconds, ls -al:
>> total 32
>> drwxr-xr-x 2 root root 4096 2009-05-08 15:34 .
>> drwxr-xr-x 4 root root 4096 2009-05-08 15:29 ..
>> -rw-r--r-- 1 root root 939787135 2009-05-08 15:34 file0000000000
>> -rw-r--r-- 1 root root 922127231 2009-05-08 15:34 file0000000001
>> -rw-r--r-- 1 root root 0 2009-05-08 15:34 file0000000002
>> -rw-r--r-- 1 root root 503703844 2009-05-08 15:34 file0000000003
>>
>> I don't understand how there are 32 dentries in the directory. Can anybody tell
>> me the magic ? Or it's a bug.
>>
>
> total is the number of directory blocks.
>
mixed with link reference number, brain short dot...
--
Coly Li
SuSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-08 7:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-08 7:28 [Ocfs2-devel] question of dentry number Coly Li
2009-05-08 7:38 ` Joel Becker
2009-05-08 7:57 ` Coly Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).