libceph: remove req->r_replay_version
Nothing uses this anymore with the removal of the ack vs. commit code. Remove the field and just encode zeroes into place in the request encoding. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:

committed by
Ilya Dryomov

parent
79162547b7
commit
aa26d662b9
@@ -177,9 +177,7 @@ static void dump_request(struct seq_file *s, struct ceph_osd_request *req)
|
||||
seq_printf(s, "%llu\t", req->r_tid);
|
||||
dump_target(s, &req->r_t);
|
||||
|
||||
seq_printf(s, "\t%d\t%u'%llu", req->r_attempts,
|
||||
le32_to_cpu(req->r_replay_version.epoch),
|
||||
le64_to_cpu(req->r_replay_version.version));
|
||||
seq_printf(s, "\t%d", req->r_attempts);
|
||||
|
||||
for (i = 0; i < req->r_num_ops; i++) {
|
||||
struct ceph_osd_req_op *op = &req->r_ops[i];
|
||||
|
Reference in New Issue
Block a user