Re: 2.6.0-test2-bk3 phantom I/O errors

From: Sander van Malssen (svm_at_kozmix.org)
Date: 07/30/03

  • Next message: Shawn: "Re: Buffer I/O error on device hde3, logical block 4429"
    Date:	Wed, 30 Jul 2003 21:11:15 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    On Wednesday, 30 July 2003 at 12:00:02 -0700, Andrew Morton wrote:

    > OK, looks like the new readahead stuff confused the error reporting.
    >
    > Does this make the error messages go away?
    >
    >
    > diff -puN mm/readahead.c~a mm/readahead.c
    > --- 25/mm/readahead.c~a 2003-07-30 11:58:07.000000000 -0700
    > +++ 25-akpm/mm/readahead.c 2003-07-30 11:58:20.000000000 -0700
    > @@ -96,7 +96,7 @@ static int read_pages(struct address_spa
    > struct pagevec lru_pvec;
    > int ret = 0;
    >
    > - current->flags |= PF_READAHEAD;
    > +// current->flags |= PF_READAHEAD;
    >
    > if (mapping->a_ops->readpages) {
    > ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages);

    That seems to have fixed it!

    Cheers,
    Sander

    -- 
         Sander van Malssen -- svm@kozmix.org -- http://www.kozmix.org/
          http://www.peteandtommysdayout.com/ -- http://www.1-2-5.net/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Shawn: "Re: Buffer I/O error on device hde3, logical block 4429"

    Relevant Pages

    • Re: [2.6.16rc2] compile error
      ... To unsubscribe from this list: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... Copyright 2006 by Maurice Eugene Heskett, ...
      (Linux-Kernel)
    • Re: [PATCH v2] v4l2_device/v4l2_subdev: final (?) version
      ... common code into these headers/sources. ... To unsubscribe from this list: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [patch 0/14] s3c2412/s3c2413 support
      ... implementations. ... To unsubscribe from this list: ... Please read the FAQ at http://www.tux.org/lkml/ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: Fwd: Registration Weakness in Linux Kernels Binary formats
      ... Subject: Registration Weakness in Linux Kernel's Binary formats To: ... To unsubscribe from this list: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe ...
      (Linux-Kernel)
    • Re: Suspend to RAM generates oops and general protection fault
      ... he said it looked like a CPU hotplug ... To unsubscribe from this list: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)