From: Jan Niehusmann <jan@gondor.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Alexander Viro <viro@math.psu.edu>,
linux-kernel@vger.kernel.org, adilger@turbolinux.com
Subject: Re: [PATCH] Re: fs corruption with invalidate_buffers()
Date: Fri, 22 Dec 2000 01:48:10 +0100 [thread overview]
Message-ID: <20001222014810.A1419@gondor.com> (raw)
In-Reply-To: <20001222010334.A984@gondor.com> <Pine.LNX.4.10.10012211634440.945-100000@penguin.transmeta.com>
In-Reply-To: <Pine.LNX.4.10.10012211634440.945-100000@penguin.transmeta.com>; from torvalds@transmeta.com on Thu, Dec 21, 2000 at 04:37:30PM -0800
On Thu, Dec 21, 2000 at 04:37:30PM -0800, Linus Torvalds wrote:
> This looks bogus.
It may be - I just did what Al told me without really understanding it ;-)
The test I did initially was the following:
if(!atomic_read(&bh->b_count) &&
(destroy_dirty_buffers || !buffer_dirty(bh))
&& ! (bh->b_page && bh->b_page->mapping)
)
That is, I was explicitely checking for a mapped page. It worked well, too.
Is this more reasonable?
Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-22 1:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-06 2:07 fs corruption with invalidate_buffers() Jan Niehusmann
2000-12-07 19:05 ` Jan Niehusmann
2000-12-07 21:30 ` [PATCH] " Jan Niehusmann
2000-12-07 22:03 ` Udo A. Steinberg
2000-12-07 22:26 ` Alexander Viro
2000-12-07 23:37 ` Jan Niehusmann
2000-12-22 0:03 ` Jan Niehusmann
2000-12-22 0:37 ` Linus Torvalds
2000-12-22 0:48 ` Jan Niehusmann [this message]
2000-12-22 1:01 ` Linus Torvalds
2000-12-22 1:49 ` Jan Niehusmann
2000-12-22 1:56 ` Alexander Viro
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=20001222014810.A1419@gondor.com \
--to=jan@gondor.com \
--cc=adilger@turbolinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=viro@math.psu.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