]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm vdo: add synchronous metadata I/O submission helper
authorBruce Johnston <bjohnsto@redhat.com>
Tue, 24 Mar 2026 18:06:50 +0000 (14:06 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 26 Mar 2026 17:19:05 +0000 (18:19 +0100)
commit9d9c28aa867ae3ffdd967a8caeb4e3fb6d4003cd
tree77db826e06ec132b658d9c0e732f810aa07953c5
parentb5d1f45c5fea9fa112f0dddebd95fadad06d3bd8
dm vdo: add synchronous metadata I/O submission helper

Add vdo_submit_metadata_vio_wait(), a synchronous I/O submission
helper that blocks until completion. This is needed for I/O during
early initialization before work queues are available.

Refactor read_geometry_block() to use it.

Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Reviewed-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/io-submitter.c
drivers/md/dm-vdo/io-submitter.h
drivers/md/dm-vdo/vdo.c