From: Andrew Morton <akpm@osdl.org>
To: Shane Shrybman <shrybman@sympatico.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test2-mm3 and mysql
Date: Sat, 2 Aug 2003 18:04:10 -0700 [thread overview]
Message-ID: <20030802180410.265dfe40.akpm@osdl.org> (raw)
In-Reply-To: <1059871132.2302.33.camel@mars.goatskin.org>
Shane Shrybman <shrybman@sympatico.ca> wrote:
>
> mysql doesn't start on this kernel.
That's because I'm an idiot.
--- 25/fs/mpage.c~awe-use-gfp_flags-braino Sat Aug 2 18:03:01 2003
+++ 25-akpm/fs/mpage.c Sat Aug 2 18:03:01 2003
@@ -568,7 +568,7 @@ confused:
*/
if (*ret == -ENOSPC)
set_bit(AS_ENOSPC, &mapping->flags);
- else
+ else if (*ret)
set_bit(AS_EIO, &mapping->flags);
out:
return bio;
@@ -673,7 +673,7 @@ mpage_writepages(struct address_space *m
ret = (*writepage)(page, wbc);
if (ret == -ENOSPC)
set_bit(AS_ENOSPC, &mapping->flags);
- else
+ else if (ret)
set_bit(AS_EIO, &mapping->flags);
} else {
bio = mpage_writepage(bio, page, get_block,
diff -puN mm/vmscan.c~awe-use-gfp_flags-braino mm/vmscan.c
--- 25/mm/vmscan.c~awe-use-gfp_flags-braino Sat Aug 2 18:03:01 2003
+++ 25-akpm/mm/vmscan.c Sat Aug 2 18:03:01 2003
@@ -254,7 +254,7 @@ static void handle_write_error(struct ad
if (page->mapping == mapping) {
if (error == -ENOSPC)
set_bit(AS_ENOSPC, &mapping->flags);
- else
+ else if (error)
set_bit(AS_EIO, &mapping->flags);
}
unlock_page(page);
_
> One last thing, I have started seeing mysql database corruption
> recently. I am not sure it is a kernel problem. And I don't know the
> exact steps to reproduce it, but I think I started seeing it with
> -test2-mm2. I haven't ever seen db corruption in the 8-12 months I have
> being playing with mysql/php.
hm, that's a worry. No additional info available?
next prev parent reply other threads:[~2003-08-03 1:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-03 0:38 2.6.0-test2-mm3 and mysql Shane Shrybman
2003-08-03 1:04 ` Andrew Morton [this message]
2003-08-03 1:52 ` Con Kolivas
2003-08-03 1:59 ` Andrew Morton
2003-08-03 1:58 ` Shane Shrybman
2003-08-03 2:08 ` Andrew Morton
2003-08-03 15:01 ` Shane Shrybman
2003-08-03 19:25 ` Andrew Morton
2003-08-03 18:58 ` Sergey S. Kostyliov
2003-08-04 0:05 ` Matt Mackall
2003-08-27 15:52 ` Sergey S. Kostyliov
2003-08-28 16:15 ` 2.6.0-testX and InnoDB (was: Re: 2.6.0-test2-mm3 and mysql) Sergey S. Kostyliov
2003-08-28 19:50 ` Andrew Morton
2003-08-29 8:12 ` Sergey S. Kostyliov
2003-08-31 10:37 ` Sergey S. Kostyliov
2003-08-31 19:06 ` Andrew Morton
2003-08-03 9:10 2.6.0-test2-mm3 and mysql Heikki Tuuri
2003-08-03 9:27 ` Andrew Morton
2003-08-03 10:43 ` Heikki Tuuri
2003-08-04 12:24 ` Denis Vlasenko
2003-08-04 18:29 ` Heikki Tuuri
2003-08-03 16:55 ` Matt Mackall
2003-08-03 17:11 ` Heikki Tuuri
2003-08-03 23:54 ` Matt Mackall
2003-08-03 16:59 Heikki Tuuri
2003-08-03 23:57 ` Matt Mackall
2003-08-03 20:50 Heikki Tuuri
2003-08-28 17:59 Heikki Tuuri
2003-08-28 19:01 ` Sergey S. Kostyliov
2003-08-28 19:10 ` Heikki Tuuri
2003-08-28 19:27 ` Sergey S. Kostyliov
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=20030802180410.265dfe40.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shrybman@sympatico.ca \
/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;
as well as URLs for NNTP newsgroup(s).