Commit ebe16015 authored by Mike Snitzer's avatar Mike Snitzer

dm vdo io-submitter: rename to vdo_submit_flush_vio

Rename submit_flush_vio() to vdo_submit_flush_vio().
Reviewed-by: default avatarSusan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
Signed-off-by: default avatarMatthew Sakai <msakai@redhat.com>
parent f7f46761
......@@ -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);
}
/**
......
......@@ -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,
......
......@@ -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);
}
/**
......
......@@ -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);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment