dm vdo io-submitter: rename to vdo_submit_data_vio

Rename submit_data_vio_io() to vdo_submit_data_vio().

Reviewed-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
This commit is contained in:
Mike Snitzer 2023-08-25 14:52:05 -04:00
parent ebe16015c3
commit d58d3c86c3
4 changed files with 6 additions and 6 deletions

View File

@ -1592,7 +1592,7 @@ static void read_block(struct vdo_completion *completion)
return;
}
submit_data_vio_io(data_vio);
vdo_submit_data_vio(data_vio);
}
static inline struct data_vio *
@ -1910,7 +1910,7 @@ void write_data_vio(struct data_vio *data_vio)
}
data_vio->last_async_operation = VIO_ASYNC_OP_WRITE_DATA_VIO;
submit_data_vio_io(data_vio);
vdo_submit_data_vio(data_vio);
}
/**

View File

@ -305,13 +305,13 @@ static bool try_bio_map_merge(struct vio *vio)
}
/**
* submit_data_vio_io() - Submit I/O for a data_vio.
* vdo_submit_data_vio() - Submit I/O for a data_vio.
* @data_vio: the data_vio for which to issue I/O.
*
* If possible, this I/O will be merged other pending I/Os. Otherwise, the data_vio will be sent to
* the appropriate bio zone directly.
*/
void submit_data_vio_io(struct data_vio *data_vio)
void vdo_submit_data_vio(struct data_vio *data_vio)
{
if (try_bio_map_merge(&data_vio->vio))
return;

View File

@ -22,7 +22,7 @@ void vdo_free_io_submitter(struct io_submitter *io_submitter);
void process_vio_io(struct vdo_completion *completion);
void submit_data_vio_io(struct data_vio *data_vio);
void vdo_submit_data_vio(struct data_vio *data_vio);
void __submit_metadata_vio(struct vio *vio, physical_block_number_t physical,
bio_end_io_t callback, vdo_action_fn error_handler,

View File

@ -486,7 +486,7 @@ static void write_bin(struct packer *packer, struct packer_bin *bin)
WRITE_ONCE(stats->compressed_blocks_written,
stats->compressed_blocks_written + 1);
submit_data_vio_io(agent);
vdo_submit_data_vio(agent);
}
/**