From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Theodore Tso <tytso@mit.edu>,
linux-kernel@vger.kernel.org, eugene@ibrix.com,
msnitzer@ibrix.com, akpm@linux-foundation.org,
torvalds@linux-foundation.org
Subject: Re: ext3: fix ext3_dx_readdir hash collision handling - Regression
Date: Thu, 23 Oct 2008 08:37:40 +0200 [thread overview]
Message-ID: <20081023063740.GA2438@gentoox2.trippelsdorf.de> (raw)
In-Reply-To: <20081023032832.GE10369@mit.edu>
On Wed, Oct 22, 2008 at 11:28:32PM -0400, Theodore Tso wrote:
> On Wed, Oct 22, 2008 at 11:32:01AM +0200, Markus Trippelsdorf wrote:
> > Commit 6a897cf447a83c9c3fd1b85a1e525c02d6eada7d
> > "ext3: fix ext3_dx_readdir hash collision handling" causes a regression
> > when deleting big directories.
> >
> > I'm using an ext3 filesystem in data=writeback mode as my root fs.
> > When I untar a kernel tarball and then rm -r the files, this is what
> > happens on my machine (latest git):
> >
> > markus@gentoox2 ~ % tar xjf linux-2.6.27.2.tar.bz2
> > markus@gentoox2 ~ % rm -r linux-2.6.27.2
> > rm: cannot remove `linux-2.6.27.2/arch/alpha/include/asm/statfs.h': No such file or directory...
>
> I haven't been able to replicate this. Does it matter which kernel
> tarball you use? And can you send me the output of "dumpe2fs -h
> /dev/hdXX", where hdXX is the device of the filesystem where this was
> failing?
No, it happens with _every_ tarball from a certain size on.
Ext4 is also affected due to d015641734cde55d2fce48a6db3983c8a029fe05 .
This is the output of dumpe2fs -h /dev/sda1:
dumpe2fs 1.41.3 (12-Oct-2008)
Filesystem volume name: /
Last mounted on: <not available>
Filesystem UUID: 9a6c302d-e3f3-4fea-96d8-dad6890780a9
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options: journal_data_writeback
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 6406144
Block count: 25599569
Reserved block count: 1279978
Free blocks: 19067411
Free inodes: 5642168
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1017
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Filesystem created: Sat May 3 13:22:22 2008
Last mount time: Thu Oct 23 08:27:43 2008
Last write time: Thu Oct 23 08:27:43 2008
Mount count: 40
Maximum mount count: -1
Last checked: Wed Oct 15 20:42:58 2008
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Journal inode: 8
First orphan inode: 2233455
Default directory hash: tea
Directory Hash Seed: c3188d40-b161-4458-b3f9-22ca7788110f
Journal backup: inode blocks
Journal size: 128M
--
Markus
next prev parent reply other threads:[~2008-10-23 6:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 9:32 ext3: fix ext3_dx_readdir hash collision handling - Regression Markus Trippelsdorf
2008-10-23 3:28 ` Theodore Tso
2008-10-23 6:37 ` Markus Trippelsdorf [this message]
2008-10-24 0:01 ` Theodore Tso
[not found] ` <20081024042851.GA2360@gentoox2.trippelsdorf.de>
2008-10-24 10:41 ` Theodore Tso
2008-10-24 16:08 ` Linus Torvalds
2008-10-24 20:44 ` Theodore Tso
2008-10-25 11:56 ` [PATCH] " Theodore Tso
2008-10-25 12:25 ` Markus Trippelsdorf
2008-10-25 21:15 ` Linus Torvalds
2008-10-26 2:39 ` [GIT PULL] " Theodore Tso
2008-10-26 2:42 ` [PATCH 1/2] ext3: Fix duplicate entries returned from getdents() system call Theodore Ts'o
2008-10-26 2:42 ` [PATCH 2/2] ext4: " Theodore Ts'o
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=20081023063740.GA2438@gentoox2.trippelsdorf.de \
--to=markus@trippelsdorf.de \
--cc=akpm@linux-foundation.org \
--cc=eugene@ibrix.com \
--cc=linux-kernel@vger.kernel.org \
--cc=msnitzer@ibrix.com \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).