From: Alex Elder <elder@inktank.com>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: [PATCH 0/6] rbd: old patches from Josh
Date: Thu, 19 Jul 2012 07:30:34 -0500 [thread overview]
Message-ID: <5007FDEA.9010605@inktank.com> (raw)
Late last year Josh Durgin had put together a series of
fixes for rbd that never got committed. I told him I
would get them in, and this series represents the last
six that remain.
Here's a summary:
[PATCH 1/6] rbd: return errors for mapped but deleted snapshot
This adds code to distinguish the result of attempting
to read data from a deleted snapshot from the the result
of reading a hole in a snapshot. The former now produces
ENXIO.
[PATCH 2/6] rbd: only reset capacity when pointing to head
When an rbd header is refreshed, its capacity is set in
case it has been changed. This should not happen for
mapped snapshots.
[PATCH 3/6] rbd: expose the correct size of the device in sysfs
An rbd_dev--even one mapping a snashot--holds the size of
it's base image in its header's image_size field. The sysfs
entry for the snapshot size was showing the wrong value.
[PATCH 4/6] rbd: set image size when header is updated
The rbd image size was not getting updated when a header
was refrehsed.
[PATCH 5/6] rbd: use reference counting for the snap context
This makes sure the rbd code takes a reference to its
snapshot context while a request related to that context
is underway.
[PATCH 6/6] rbd: send header version when notifying
This ensures the version that gets sent back on a watch
notify acknowledgement is the one that got read as
a result of refreshing the header.
I've reviewed them all, but am posting them for a chance for
others to comment before I commit them.
-Alex
next reply other threads:[~2012-07-19 12:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 12:30 Alex Elder [this message]
2012-07-19 12:34 ` [PATCH 1/6] rbd: return errors for mapped but deleted snapshot Alex Elder
2012-07-19 12:34 ` [PATCH 2/6] rbd: only reset capacity when pointing to head Alex Elder
2012-07-19 12:34 ` [PATCH 3/6] rbd: expose the correct size of the device in sysfs Alex Elder
2012-07-19 12:34 ` [PATCH 4/6] rbd: set image size when header is updated Alex Elder
2012-07-19 12:35 ` [PATCH 5/6] rbd: use reference counting for the snap context Alex Elder
2012-07-19 12:35 ` [PATCH 6/6] rbd: send header version when notifying Alex Elder
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=5007FDEA.9010605@inktank.com \
--to=elder@inktank.com \
--cc=ceph-devel@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 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.