From: Andrew Morton <akpm@osdl.org>
To: David Brownell <david-b@pacbell.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [path 2.6] reduce ext3 log spamming (blank lines)
Date: Tue, 7 Dec 2004 21:58:33 -0800 [thread overview]
Message-ID: <20041207215833.4d63e22f.akpm@osdl.org> (raw)
In-Reply-To: <200412071501.15815.david-b@pacbell.net>
David Brownell <david-b@pacbell.net> wrote:
>
> When drives go offline, e.g. usb-storage disconnect, the
> upper layers don't behave very intelligently yet: ext3
> over scsi keeps retrying reads, logging three lines for
> each error:
>
> 10:58:31 scsi0 (0:0): rejecting I/O to dead device
> 10:58:31 EXT3-fs error (device sda1): ext3_find_entry: reading directory #18089296 offset 0
> 10:58:31
> 10:58:55 scsi0 (0:0): rejecting I/O to dead device
> ...
> This patch shrinks that log spam by the trivial third, getting
> rid of those needless blank lines.
Thanks.
> It's not clear to me why
> the "no such device" errors don't immediately make ext3
> (or is it the block layer?) give up ... maybe someone else
> can make Linux not retry after those errors.
It's probably ext3 directory readahead.
We deliberately ignore I/O error when reading directories so that if you
have a bad block in a directory it is still possible to recover files which
are addressed by later blocks.
prev parent reply other threads:[~2004-12-08 5:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 23:01 David Brownell
2004-12-08 5:58 ` Andrew Morton [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=20041207215833.4d63e22f.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=david-b@pacbell.net \
--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
Powered by JetHome