From: Josh Durgin <jdurgin@redhat.com>
To: Chris H <fuzz19881@gmail.com>
Cc: Haomai Wang <haomaiwang@gmail.com>,
"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: RBD mirroring design draft
Date: Thu, 21 May 2015 08:34:29 -0700 [thread overview]
Message-ID: <555DFB05.4080603@redhat.com> (raw)
In-Reply-To: <CAAW3nmjWQTOOhym5t6LQ8E0P8AsHnD0c0MkfbF2zre_oUJFudw@mail.gmail.com>
On 05/21/2015 07:56 AM, Chris H wrote:
> I am assuming your client's do proper syncs and flushes? What about
> applications that traditionally write to a BBU backed RAID card and
> don't explicitly call sync and flushes? I just ask because the only way
> I can think of handling this is to force sync/flush to a log device of
> some sort before returning the write was successful. I know this is
> probably a new use case but this is the best time to address these sort
> of concerns.
Yeah, that's exactly what we do by default with our existing rbd client
side cache. It's writethrough until it sees a flush from the user. For
mirroring this wouldn't change, and we could ack writes to the client
after only writing them to the rbd journal. This would still be safe
since we'd replay any unfinished work in the journal the next time
the image was used. Optionally, we could wait for the write to the
journal and the regular image data in case the journal is stored in a
pool with lower fault tolerance.
next prev parent reply other threads:[~2015-05-21 15:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 0:42 RBD mirroring design draft Josh Durgin
2015-05-13 7:48 ` Haomai Wang
2015-05-13 8:07 ` Haomai Wang
2015-05-14 4:21 ` Josh Durgin
[not found] ` <CAAW3nmh+XxB8K2XsWgnD_cWWPZGw=VpsuomodMM1SNad8LmZAQ@mail.gmail.com>
2015-05-20 21:30 ` Josh Durgin
[not found] ` <CAAW3nmjWQTOOhym5t6LQ8E0P8AsHnD0c0MkfbF2zre_oUJFudw@mail.gmail.com>
2015-05-21 15:34 ` Josh Durgin [this message]
2015-05-28 5:37 ` Gregory Farnum
2015-05-28 10:42 ` John Spray
2015-05-28 14:07 ` Gregory Farnum
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=555DFB05.4080603@redhat.com \
--to=jdurgin@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=fuzz19881@gmail.com \
--cc=haomaiwang@gmail.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.