}
/**
- * process_vio_io() - Submits a vio's bio to the underlying block device. May block if the device
- * is busy. This callback should be used by vios which did not attempt to merge.
+ * vdo_submit_vio() - Submits a vio's bio to the underlying block device. May block if the device
+ * is busy. This callback should be used by vios which did not attempt to merge.
*/
-void process_vio_io(struct vdo_completion *completion)
+void vdo_submit_vio(struct vdo_completion *completion)
{
struct vio *vio = as_vio(completion);
}
/**
- * process_data_vio_io() - Submit a data_vio's bio to the storage below along with any bios that
- * have been merged with it.
+ * submit_data_vio() - Submit a data_vio's bio to the storage below along with
+ * any bios that have been merged with it.
*
* Context: This call may block and so should only be called from a bio thread.
*/
-static void process_data_vio_io(struct vdo_completion *completion)
+static void submit_data_vio(struct vdo_completion *completion)
{
struct bio *bio, *next;
struct vio *vio = as_vio(completion);
if (try_bio_map_merge(&data_vio->vio))
return;
- launch_data_vio_bio_zone_callback(data_vio, process_data_vio_io);
+ launch_data_vio_bio_zone_callback(data_vio, submit_data_vio);
}
/**
return;
}
- vdo_set_completion_callback(completion, process_vio_io,
+ vdo_set_completion_callback(completion, vdo_submit_vio,
get_vio_bio_zone_thread_id(vio));
vdo_launch_completion_with_priority(completion, get_metadata_priority(vio));
}