libceph, rbd, ceph: move ceph_osdc_alloc_messages() calls
authorIlya Dryomov <idryomov@gmail.com>
Mon, 15 Oct 2018 14:11:37 +0000 (16:11 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 22 Oct 2018 08:28:22 +0000 (10:28 +0200)
commit26f887e0a3c43f67b550e2e5d8a76e86ca11d188
tree50ff54b68af52fa81d5affcea6d7553cbfc1781c
parent39e58c3425b1816c84724e8a77f9f9daa0143263
libceph, rbd, ceph: move ceph_osdc_alloc_messages() calls

The current requirement is that ceph_osdc_alloc_messages() should be
called after oid and oloc are known.  In preparation for preallocating
message data items, move ceph_osdc_alloc_messages() further down, so
that it is called when OSD op codes are known.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c
fs/ceph/file.c
net/ceph/osd_client.c