/*
- * The messaging layer will reconnect to the osd as needed. If the
- * session has dropped, the OSD will have dropped the session state,
- * and we'll get notified by the messaging layer. If that happens, we
- * need to resubmit all requests for that osd.
+ * If the osd connection drops, we need to resubmit all requests.
*/
static void osd_reset(struct ceph_connection *con)
{
.put = put_osd_con,
.dispatch = dispatch,
.alloc_msg = alloc_msg,
- .peer_reset = osd_reset,
+ .fault = osd_reset,
.alloc_middle = ceph_alloc_middle,
.prepare_pages = prepare_pages,
};