From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: dm-raid1 barriers
Date: Sun, 22 Nov 2009 19:16:02 -0800 [thread overview]
Message-ID: <20091123031602.GA26756@us.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0911170502370.4304@hs20-bc2-1.build.redhat.com>
Mikulas Patocka [mpatocka@redhat.com] wrote:
> > > If this flush fails, the bits in memory are already clean and we don't
> > > know which regions may hold unwritten data in the disk cache and which
> >
> > Actually we do: the on-disk version of the log tells us.
>
> Yes, it could be read into another buffer and anded.
>
> > > not. So, we must set all regions as dirty.
> >
> > Anyway, let's not try to handle these situations at the moment.
> > what I need for now, is a way to know whether or not this situation has
> > actually occurred when we get reports from users, so probably a kernel
> > log message, a dm event raised plus a failure indicator against the device in
> > the status line.
Agreed, we don't want to handle this error case with reading the entries
from the disk log and comparing them with the in memory buffer at this
point. Why not just set all regions to dirty as Mikulas pointed as a
short term solution? Not optimal but it is a correct way to handle.
--Malahal.
prev parent reply other threads:[~2009-11-23 3:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 16:50 dm-raid1 barriers Mikulas Patocka
2009-11-16 18:48 ` Alasdair G Kergon
2009-11-17 10:06 ` Mikulas Patocka
2009-11-23 3:16 ` malahal [this message]
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=20091123031602.GA26756@us.ibm.com \
--to=malahal@us.ibm.com \
--cc=dm-devel@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.