public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Simon Haynes <simon@baydel.com>
To: linux-mtd@lists.infradead.org
Subject: Long LS times
Date: Wed, 18 Aug 2004 16:17:51 +0100	[thread overview]
Message-ID: <1B7122EB7D4B@baydel.com> (raw)


I have many systems which use a JFFS2/SMC filesystem as root.
On a couple of systems running this I noticed that the system paused
on startup while trying to start syslogd. I thought initially that this what 
due to a large logfile. I decided to delete the logfile and try that. This 
had some effect but it still took 50 seconds. I changed the startup script to 
use strace on starting syslogd and the process stalled while trying to open
a fifo, made with, mkfifo. I later discovered that if I mounted the JFFS2 
filesystem. not as root and performed an 'ls' of the directory containing the 
fifo file, it took 50 seconds. This directory contains only 10 files and the 
only one that is written to is the fifo. 

I then copied this directory and contents to a new one, deleted the original
and renamed the new directory to that of the old, thus recreating the 
directory. I then umounted/mounted the filesystem and the ls took no time at 
all. 

Can anyone explain what is happening to this directory and how I may stop
it or clean it ?

Cheers


Simon. 

                 reply	other threads:[~2004-08-18 15:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1B7122EB7D4B@baydel.com \
    --to=simon@baydel.com \
    --cc=linux-mtd@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox