• A
    libceph: move init of bio_iter · 572c588e
    Alex Elder 提交于
    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: NAlex Elder <elder@inktank.com>
    Reviewed-by: NSage Weil <sage@inktank.com>
    572c588e
messenger.c 66.6 KB