From: Rogier Wolff <R.E.Wolff@BitWizard.nl>
To: Christian Brandt <brandtc@psi5.com>
Cc: Rogier Wolff <R.E.Wolff@BitWizard.nl>,
Ric Wheeler <rwheeler@redhat.com>,
linux-ext4@vger.kernel.org
Subject: Re: fsck.ext4 taking months
Date: Wed, 30 Mar 2011 10:45:05 +0200 [thread overview]
Message-ID: <20110330084505.GE30384@bitwizard.nl> (raw)
In-Reply-To: <4D92408E.7090008@psi5.com>
On Tue, Mar 29, 2011 at 10:26:54PM +0200, Christian Brandt wrote:
> Am 29.03.2011 08:03, schrieb Rogier Wolff:
>
> >>> >>> Is the slow performance with lots of hard links a known issue?
> > >
> > > Yes, it is a known issue.
>
> At least its not my fault :-) thanks for the info.
>
> > > You get to test my patch. :-)
> > >
> > > I strongly suspect that (just like me) sometime in the past you've
> > > seen e2fsck run out of memory and were advised to enable the
> > > on-disk-databases.
>
> Something like that... The drive has been formatted recently but a bad
> controller corrupted vital information upon mount and some more on the
> next fsck. I Ctrl-C pretty fast when I saw lots of rather confusing
> kernel errors between fsck output. This could have left the drive in a
> similiar state, couldn't it?
The code I "fixed" is the code that uses an on-disk database instead
of in-memory datastructures.
Those in-memory datastructures may move to swap if you have enough of
that and enough addressing space. In my case, normal fsck memory usage
plus those two flexible datastructures would have exceeded 3Gb which
exceeds the 32-bit Linux process size limit.
So if you haven't touched the config file which specifies to put these
structures on disk, you are not experiencing the same problem that I
was....
Or someone else changed the configuration file for you....
The patch is against a CVS checkout (or whatever SCM is used) of
e2fsprogs.
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
** Delftechpark 26 2628 XH Delft, The Netherlands. KVK: 27239233 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ
next prev parent reply other threads:[~2011-03-30 8:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-27 11:28 fsck.ext4 taking months Christian Brandt
2011-03-28 14:43 ` Ric Wheeler
2011-03-29 6:03 ` Rogier Wolff
2011-03-29 20:26 ` Christian Brandt
2011-03-30 8:45 ` Rogier Wolff [this message]
2011-03-29 20:21 ` Christian Brandt
2011-03-28 15:07 ` Eric Sandeen
2011-03-28 15:47 ` Ted Ts'o
2011-03-29 22:02 ` Christian Brandt
2011-03-30 8:34 ` Rogier Wolff
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=20110330084505.GE30384@bitwizard.nl \
--to=r.e.wolff@bitwizard.nl \
--cc=brandtc@psi5.com \
--cc=linux-ext4@vger.kernel.org \
--cc=rwheeler@redhat.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 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).