From: Andreas Dilger <adilger@clusterfs.com>
To: felix-kernel@fefe.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.5, ext3] getdents reports files that stat says aren't there
Date: Mon, 17 May 2004 14:07:48 -0600 [thread overview]
Message-ID: <20040517200748.GJ18086@schnapps.adilger.int> (raw)
In-Reply-To: <20040517193954.GA14835@codeblau.de>
On May 17, 2004 21:39 +0200, felix-kernel@fefe.de wrote:
> I keep getting this effect on my ext3 file system.
> Applications like ls call readdir, get long deleted files, then stat
> them, and get ENOENT.
>
> Most applications can handle this, but some report ugly errors or
> warnings. I wonder: why does getdents report entries of deleted files?
> I ran e2fsck on the partition, but it found nothing. So I guess it's
> not a file system error. I have been seeing this for months now. It
> does not actually hurt a lot, but I think it should be fixed
> nonetheless.
Are you using htree/indexed directories?
dumpe2fs -h /dev/XXX | grep dir_index
will tell you.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
prev parent reply other threads:[~2004-05-17 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-17 19:39 felix-kernel
2004-05-17 20:07 ` Andreas Dilger [this message]
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=20040517200748.GJ18086@schnapps.adilger.int \
--to=adilger@clusterfs.com \
--cc=felix-kernel@fefe.de \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®