summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2023-08-25 14:52:05 -0400
committerMike Snitzer <snitzer@kernel.org>2024-02-20 13:43:16 -0500
commitd58d3c86c3af96de44171a3748f3e534c5d1631b (patch)
treef09d0f818b56a4d2d83d408a23a01bbc3a373f14
parentebe16015c389bcc1721dfdcba74c13100b849a5b (diff)
downloadlinux-stable-d58d3c86c3af96de44171a3748f3e534c5d1631b.tar.gz
linux-stable-d58d3c86c3af96de44171a3748f3e534c5d1631b.tar.bz2
linux-stable-d58d3c86c3af96de44171a3748f3e534c5d1631b.zip
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>
-rw-r--r--drivers/md/dm-vdo/data-vio.c4
-rw-r--r--drivers/md/dm-vdo/io-submitter.c4
-rw-r--r--drivers/md/dm-vdo/io-submitter.h2
-rw-r--r--drivers/md/dm-vdo/packer.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/md/dm-vdo/data-vio.c b/drivers/md/dm-vdo/data-vio.c
index 09a99a28da4f..54c06e86d321 100644
--- a/drivers/md/dm-vdo/data-vio.c
+++ b/drivers/md/dm-vdo/data-vio.c
@@ -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);
}
/**
diff --git a/drivers/md/dm-vdo/io-submitter.c b/drivers/md/dm-vdo/io-submitter.c
index 8ca9825357e6..1dd670bb0a74 100644
--- a/drivers/md/dm-vdo/io-submitter.c
+++ b/drivers/md/dm-vdo/io-submitter.c
@@ -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;
diff --git a/drivers/md/dm-vdo/io-submitter.h b/drivers/md/dm-vdo/io-submitter.h
index 77b8df6d559e..57e1074a65a4 100644
--- a/drivers/md/dm-vdo/io-submitter.h
+++ b/drivers/md/dm-vdo/io-submitter.h
@@ -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,
diff --git a/drivers/md/dm-vdo/packer.c b/drivers/md/dm-vdo/packer.c
index f09eb1ca4902..e391cac6c92d 100644
--- a/drivers/md/dm-vdo/packer.c
+++ b/drivers/md/dm-vdo/packer.c
@@ -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);
}
/**