From: Mario 'BitKoenig' Holbe <Mario.Holbe@TU-Ilmenau.DE>
To: linux-raid@vger.kernel.org
Subject: Re: No syncing after crash. Is this a software raid bug?
Date: Sat, 4 Mar 2006 11:10:45 +0100 [thread overview]
Message-ID: <dubp35$ts6$1@sea.gmane.org> (raw)
In-Reply-To: 20060304090112.GC2976@redhat.com
Heinz Mauelshagen <mauelshagen@redhat.com> wrote:
>> But given the rough scenario above there *are* page-outs first.
> No, a write before another read will happen unless you
> found an unknown bogus case ;)
Well, taking your rough scenario again, assigning it to a swap case
(although it should be the same with a mmap()ing DBMS)...
o page gets dirtied
...probably lots of activity...
o page gets pro-actively synched to swap - handed to mirroring driver
o mirroring driver initiates writes to all mirrors
o write gets through to first mirror
o page content gets changed (page is still dirty)
o second write gets through to other mirror, page gets cleaned
...probably lots of activity...
o low on physical memory, clean page gets re-mapped somewhere else
...probably lots of activity...
o access to the virtual memory page that is now not mapped anymore
(the one that was previously mapped to our now re-mapped page)
o new mapping is created
o page content is read from swap - handed to mirroring driver
o mirroring driver initiates read to the first mirror
o page contains content before the last change
Okay, the scenario is probably bogus in the way that the access pattern
is quite special:
1. you need an access pattern where a page is accessed very seldom
(so it constantly runs out of the working set)
2. the race condition with the paging strategy needs to occur while one
of these seldom accesses (especially while a page modify)
regards
Mario
--
Ho ho ho! I am Santa Claus of Borg. Nice assimilation all together!
next prev parent reply other threads:[~2006-03-04 10:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 12:44 No syncing after crash. Is this a software raid bug? Kasper Dupont
2006-03-01 13:58 ` Luca Berra
2006-03-01 16:24 ` Mike Hardy
2006-03-01 21:56 ` Kasper Dupont
2006-03-02 13:48 ` Mario 'BitKoenig' Holbe
2006-03-03 13:39 ` Heinz Mauelshagen
2006-03-03 14:30 ` Mario 'BitKoenig' Holbe
2006-03-03 22:26 ` Heinz Mauelshagen
2006-03-03 23:01 ` Mario 'BitKoenig' Holbe
2006-03-04 9:01 ` Heinz Mauelshagen
2006-03-04 10:10 ` Mario 'BitKoenig' Holbe [this message]
2006-03-03 7:30 ` Kasper Dupont
2006-03-03 12:03 ` Mario 'BitKoenig' Holbe
2006-03-03 12:38 ` Mario 'BitKoenig' Holbe
2006-03-03 14:48 ` Kasper Dupont
2006-03-03 15:10 ` Mario 'BitKoenig' Holbe
2006-03-04 13:16 ` Kasper Dupont
2006-03-04 13:38 ` Mario 'BitKoenig' Holbe
2006-03-04 19:50 ` Kasper Dupont
2006-03-07 10:47 ` Heinz Mauelshagen
2006-03-07 11:18 ` Kasper Dupont
2006-03-07 12:12 ` Heinz Mauelshagen
2006-03-10 7:43 ` Heinz Mauelshagen
2006-03-10 7:49 ` Kasper Dupont
2006-03-16 7:24 ` Kasper Dupont
2006-03-16 14:04 ` Heinz Mauelshagen
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='dubp35$ts6$1@sea.gmane.org' \
--to=mario.holbe@tu-ilmenau.de \
--cc=linux-raid@vger.kernel.org \
/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).