commit | 572c588edadaa3da3992bd8a0fed830bbcc861f8 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon Jun 11 14:57:13 2012 -0500 |
committer | Sage Weil <sage@inktank.com> | Thu Jul 05 21:14:16 2012 -0700 |
tree | 3de334c5d18565a3451bfd991f9ab54c2187dca2 | |
parent | df6ad1f97342ebc4270128222e896541405eecdb [diff] |
libceph: move init of bio_iter If a message has a non-null bio pointer, its bio_iter field is initialized in write_partial_msg_pages() if this has not been done already. This is really a one-time setup operation for sending a message's (bio) data, so move that initialization code into prepare_write_message_data() which serves that purpose. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>