dm vdo io-submitter: rename to vdo_submit_flush_vio
authorMike Snitzer <snitzer@kernel.org>
Fri, 25 Aug 2023 18:43:30 +0000 (14:43 -0400)
committerMike Snitzer <snitzer@kernel.org>
Tue, 20 Feb 2024 18:43:16 +0000 (13:43 -0500)
Rename submit_flush_vio() to vdo_submit_flush_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>
drivers/md/dm-vdo/block-map.c
drivers/md/dm-vdo/io-submitter.h
drivers/md/dm-vdo/recovery-journal.c
drivers/md/dm-vdo/slab-depot.c

index 0df1517294e1d5fdca2a51fc00b7284039b0d35c..1edb3b2a80eb2fd645aea603bf6be3014969a2d1 100644 (file)
@@ -835,7 +835,7 @@ static void save_pages(struct vdo_page_cache *cache)
         * successfully persisted, and thus must issue a flush before each batch of pages is
         * written to ensure this.
         */
-       submit_flush_vio(vio, flush_endio, handle_flush_error);
+       vdo_submit_flush_vio(vio, flush_endio, handle_flush_error);
 }
 
 /**
index 9e97cfc91bee96bb68d7f7539b48a8ffb5d880af..77b8df6d559e94bad35cde258e1125730756e77a 100644 (file)
@@ -36,8 +36,8 @@ static inline void vdo_submit_metadata_vio(struct vio *vio, physical_block_numbe
                              operation, vio->data);
 }
 
-static inline void submit_flush_vio(struct vio *vio, bio_end_io_t callback,
-                                   vdo_action_fn error_handler)
+static inline void vdo_submit_flush_vio(struct vio *vio, bio_end_io_t callback,
+                                       vdo_action_fn error_handler)
 {
        /* FIXME: Can we just use REQ_OP_FLUSH? */
        __submit_metadata_vio(vio, 0, callback, error_handler,
index 55411eff5bd7b421827109001d4bcf56ac2e3b14..2dfc39deef946d8b7438b512480430af1d5114fa 100644 (file)
@@ -1541,7 +1541,7 @@ static void reap_recovery_journal(struct recovery_journal *journal)
         * summary update covering the slab journal that just released some lock.
         */
        journal->reaping = true;
-       submit_flush_vio(journal->flush_vio, flush_endio, handle_flush_error);
+       vdo_submit_flush_vio(journal->flush_vio, flush_endio, handle_flush_error);
 }
 
 /**
index 5fc4a1cdfafc685b56763784936e3bb29583b90f..670a464ddbb0a662c934ed9c49e03c170702b9c4 100644 (file)
@@ -449,7 +449,7 @@ static void flush_for_reaping(struct waiter *waiter, void *context)
        struct vio *vio = &pooled->vio;
 
        vio->completion.parent = journal;
-       submit_flush_vio(vio, flush_endio, handle_flush_error);
+       vdo_submit_flush_vio(vio, flush_endio, handle_flush_error);
 }
 
 /**