aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/thread-registry.c
AgeCommit message (Collapse)AuthorFilesLines
2024-03-04dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESSMike Snitzer1-2/+2
Also rename ASSERT to VDO_ASSERT and ASSERT_LOG_ONLY to VDO_ASSERT_LOG_ONLY. But re-introduce ASSERT and ASSERT_LOG_ONLY as a placeholder for the benefit of dm-vdo/indexer. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Matthew Sakai <[email protected]>
2024-03-04dm vdo: include <asm/current.h> to resolve current being undeclaredMike Snitzer1-0/+1
Reported when building on loongarch. Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Bruce Johnston <[email protected]> Signed-off-by: Matthew Sakai <[email protected]>
2024-03-01dm vdo thread-registry: rename all methods to reflect vdo-only useMike Snitzer1-4/+4
Otherwise, uds_ prefix is misleading (vdo_ is the new catch-all for code that is used by vdo-only or _both_ vdo and the indexer code). Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Matthew Sakai <[email protected]>
2024-02-20dm vdo: add thread and synchronization utilitiesMatthew Sakai1-0/+92
This patch adds utilities for managing and using named threads, as well as several locking and synchronization utilities. These utilities help dm-vdo minimize thread transitions and manage interactions between threads. Co-developed-by: J. corwin Coburn <[email protected]> Signed-off-by: J. corwin Coburn <[email protected]> Co-developed-by: Michael Sclafani <[email protected]> Signed-off-by: Michael Sclafani <[email protected]> Co-developed-by: Thomas Jaskiewicz <[email protected]> Signed-off-by: Thomas Jaskiewicz <[email protected]> Co-developed-by: Bruce Johnston <[email protected]> Signed-off-by: Bruce Johnston <[email protected]> Co-developed-by: Ken Raeburn <[email protected]> Signed-off-by: Ken Raeburn <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>