All of lore.kernel.org
 help / color / mirror / Atom feed
From: Coly Li <coly.li@suse.de>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] question of dentry number
Date: Fri, 08 May 2009 15:28:35 +0800	[thread overview]
Message-ID: <4A03DF23.8090903@suse.de> (raw)

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

             reply	other threads:[~2009-05-08  7:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08  7:28 Coly Li [this message]
2009-05-08  7:38 ` [Ocfs2-devel] question of dentry number Joel Becker
2009-05-08  7:57   ` Coly Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A03DF23.8090903@suse.de \
    --to=coly.li@suse.de \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.