If we know another message is following, or the current message
isn't time sensitive, then we can let Nagle's algo do it's thing.
} else {
/* no, queue up footer too and be done */
prepare_write_message_footer(con, v);
+ con->out_more = con->out_msg->more_to_follow;
}
set_bit(WRITE_PENDING, &con->state);
m->footer.front_crc = 0;
m->footer.data_crc = 0;
m->front_is_vmalloc = false;
+ m->more_to_follow = false;
/* front */
if (front_len) {
struct list_head list_head;
atomic_t nref;
bool front_is_vmalloc;
+ bool more_to_follow;
};
struct ceph_msg_pos {