dm vdo: add administrative state and action manager
authorMatthew Sakai <msakai@redhat.com>
Fri, 17 Nov 2023 00:58:24 +0000 (19:58 -0500)
committerMike Snitzer <snitzer@kernel.org>
Tue, 20 Feb 2024 18:43:14 +0000 (13:43 -0500)
commit3f493fcea0fc7b93dc1296030445575e363ccb51
treef3766bc8523be2c8f09726d9adbb061ae91edcdf
parent8ce89dde122b4e3913552b68983e95e606710837
dm vdo: add administrative state and action manager

This patch adds the admin_state structures which are used to track the
states of individual vdo components for handling of operations like suspend
and resume. It also adds the action manager which is used to schedule and
manage cross-thread administrative and internal operations.

Co-developed-by: J. corwin Coburn <corwin@hurlbutnet.net>
Signed-off-by: J. corwin Coburn <corwin@hurlbutnet.net>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-vdo/action-manager.c [new file with mode: 0644]
drivers/md/dm-vdo/action-manager.h [new file with mode: 0644]
drivers/md/dm-vdo/admin-state.c [new file with mode: 0644]
drivers/md/dm-vdo/admin-state.h [new file with mode: 0644]