[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070517094730.5cdfaa64.akpm@linux-foundation.org>
Date: Thu, 17 May 2007 09:47:30 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Johann Lombardi <johann@...sterfs.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Clear PG_error before reading a page
On Thu, 17 May 2007 13:42:50 +0200 Johann Lombardi <johann@...sterfs.com> wrote:
> > What is the actual real-world operational scenario here? Would it be a
> > hotplugged disk? A transient network failure in a SAN? IOW, is it
> > something from which the kernel should automatically recover, or it is a
> > situation in which manual intervention would be better?
>
> The real-world operational scenario is a storage system reporting medium
> errors which can be corrected by a manual intervention.
So running ioctl(BLKFLSBUF) against the device will fix things up?
Perhaps not, and we should invalidate all the file data as well. The
only ways we have of doing that are umount+mount or /proc/sys/vm/drop_caches.
I'm not sure what is the best thing to do here - there are advantages to
caching the fact that the device (or some of it) is unreadable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists