All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Elder <elder@inktank.com>
To: ceph-devel@vger.kernel.org
Subject: [PATCH 5/5] rbd: drop obj_request->version
Date: Tue, 30 Apr 2013 07:32:40 -0500	[thread overview]
Message-ID: <517FB9E8.8060408@inktank.com> (raw)
In-Reply-To: <517FB909.40309@inktank.com>

Nothing ever uses the version field maintained in the object request
structure any more, so get rid of it.

Signed-off-by: Alex Elder <elder@inktank.com>
---
 drivers/block/rbd.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index ddf4305..15e84d8 100644
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -225,7 +225,6 @@ struct rbd_obj_request {
 	struct ceph_osd_request	*osd_req;

 	u64			xferred;	/* bytes transferred */
-	u64			version;
 	int			result;

 	rbd_obj_callback_t	callback;
@@ -1486,7 +1485,6 @@ static void rbd_osd_req_callback(struct
ceph_osd_request *osd_req,

 	if (osd_req->r_result < 0)
 		obj_request->result = osd_req->r_result;
-	obj_request->version = le64_to_cpu(osd_req->r_reassert_version.version);

 	BUG_ON(osd_req->r_num_ops > 2);

-- 
1.7.9.5


  parent reply	other threads:[~2013-04-30 12:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-30 12:28 [PATCH 0/5] rbd: eliminate object version tracking Alex Elder
2013-04-30 12:30 ` [PATCH 1/5] rbd: stop tracking header object version Alex Elder
2013-04-30 12:30 ` [PATCH 2/5] rbd: get rid of some version parameters Alex Elder
2013-04-30 12:32 ` [PATCH 3/5] rbd: more version parameter removal Alex Elder
2013-04-30 12:32 ` [PATCH 4/5] rbd: drop rbd_obj_method_sync() version parameter Alex Elder
2013-04-30 12:32 ` Alex Elder [this message]
2013-04-30 18:32 ` [PATCH 0/5] rbd: eliminate object version tracking 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=517FB9E8.8060408@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.