diff options
author | Sage Weil <sage@newdream.net> | 2010-03-01 13:02:00 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-03-01 15:20:02 -0800 |
commit | c16e786927b977cb880873214bbd815e8d5ec4ba (patch) | |
tree | 82774e0b06015f2d4813b6cfd3d1924ad96da5d7 /fs/ceph/osd_client.h | |
parent | 1679f876a641d209e7b22e43ebda0693c71003cf (diff) | |
download | op-kernel-dev-c16e786927b977cb880873214bbd815e8d5ec4ba.zip op-kernel-dev-c16e786927b977cb880873214bbd815e8d5ec4ba.tar.gz |
ceph: use single osd op reply msg
Use a single ceph_msg for the osd reply, even when we are getting multiple
replies.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/osd_client.h')
-rw-r--r-- | fs/ceph/osd_client.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h index 70f31b6..f256eba 100644 --- a/fs/ceph/osd_client.h +++ b/fs/ceph/osd_client.h @@ -53,7 +53,6 @@ struct ceph_osd_request { int r_flags; /* any additional flags for the osd */ u32 r_sent; /* >0 if r_request is sending/sent */ int r_got_reply; - int r_num_prealloc_reply; struct ceph_osd_client *r_osdc; struct kref r_kref; @@ -77,9 +76,6 @@ struct ceph_osd_request { struct page **r_pages; /* pages for data payload */ int r_pages_from_pool; int r_own_pages; /* if true, i own page list */ - - struct ceph_msg *replies[2]; - int cur_reply; }; struct ceph_osd_client { @@ -106,6 +102,7 @@ struct ceph_osd_client { mempool_t *req_mempool; struct ceph_msgpool msgpool_op; + struct ceph_msgpool msgpool_op_reply; }; extern int ceph_osdc_init(struct ceph_osd_client *osdc, |