All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@inktank.com>
To: ceph-devel@vger.kernel.org
Subject: [PATCH 00/11] rbd bug fix and discard support
Date: Tue,  8 Apr 2014 13:42:44 -0700	[thread overview]
Message-ID: <cover.1396987789.git.josh.durgin@inktank.com> (raw)

The first patch in this series fixes a potential race, which may have
been related to http://tracker.ceph.com/issues/7465, though there's
not enough information to tell. I put it before the discard-related
patches so it could be cherry-picked to older kernels as needed.

The next three patches are rebased versions of Guangliang's discard
patches, which have already been reviewd.

The rest are bug fixes which made discard work in my testing for
format 1 and layered format 2 images.

Guangliang Zhao (3):
  rbd: skip the copyup when an entire object writing
  rbd: extend the operation type
  rbd: add discard support for rbd

Josh Durgin (8):
  rbd: access snapshot context and mapping size safely
  rbd: read image size for discard check safely
  rbd: fix snapshot context reference count for discards
  rbd: tolerate -ENOENT for discard operations
  rbd: make discard trigger copy-on-write
  rbd: extract a method for adding object operations
  rbd: use helpers to handle discard for layered images correctly
  rbd: set the remaining discard properties to enable support

 drivers/block/rbd.c |  385 +++++++++++++++++++++++++++++++++++----------------
 1 file changed, 269 insertions(+), 116 deletions(-)

-- 
1.7.10.4


             reply	other threads:[~2014-04-08 22:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 20:42 Josh Durgin [this message]
2014-04-08 20:42 ` [PATCH 01/11] rbd: access snapshot context and mapping size safely Josh Durgin
2014-04-08 20:42 ` [PATCH 02/11] rbd: skip the copyup when an entire object writing Josh Durgin
2014-04-08 20:42 ` [PATCH 03/11] rbd: extend the operation type Josh Durgin
2014-04-08 20:42 ` [PATCH 04/11] rbd: add discard support for rbd Josh Durgin
2014-04-08 20:42 ` [PATCH 05/11] rbd: read image size for discard check safely Josh Durgin
2014-04-08 20:42 ` [PATCH 06/11] rbd: fix snapshot context reference count for discards Josh Durgin
2014-04-08 20:42 ` [PATCH 07/11] rbd: tolerate -ENOENT for discard operations Josh Durgin
2014-04-08 20:42 ` [PATCH 08/11] rbd: make discard trigger copy-on-write Josh Durgin
2014-04-08 20:42 ` [PATCH 09/11] rbd: extract a method for adding object operations Josh Durgin
2014-04-08 20:42 ` [PATCH 10/11] rbd: use helpers to handle discard for layered images correctly Josh Durgin
2014-04-08 20:42 ` [PATCH 11/11] rbd: set the remaining discard properties to enable support Josh Durgin

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=cover.1396987789.git.josh.durgin@inktank.com \
    --to=josh.durgin@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.