Re: Clear PG_error before reading a page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 May 2007 13:42:50 +0200 Johann Lombardi <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux