libceph: hold off building osd request
authorAlex Elder <elder@inktank.com>
Thu, 14 Mar 2013 19:09:06 +0000 (14:09 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:01 +0000 (21:18 -0700)
commit02ee07d3002e6c0b0c4ea1982cd7e6aeca203ed6
tree1e06ce866c06a3fd03d4b6d9547c5bd376c8758f
parent88486957f9fbf52ff4313ff52d583110a6503c28
libceph: hold off building osd request

Defer building the osd request until just before submitting it in
all callers except ceph_writepages_start().  (That caller will be
handed in the next patch.)

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
fs/ceph/addr.c
fs/ceph/file.c
net/ceph/osd_client.c