dm vdo: add thread and synchronization utilities
authorMatthew Sakai <msakai@redhat.com>
Fri, 17 Nov 2023 00:47:35 +0000 (19:47 -0500)
committerMike Snitzer <snitzer@kernel.org>
Tue, 20 Feb 2024 18:43:13 +0000 (13:43 -0500)
commit89f9b701f5b800daa76506d5bba197624e97ee44
treef05a29f7240ada9944228a8730f8ea65c3dacfc5
parent4fcb4290dfe303de048fe01968513da6f4512147
dm vdo: add thread and synchronization utilities

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 <corwin@hurlbutnet.net>
Signed-off-by: J. corwin Coburn <corwin@hurlbutnet.net>
Co-developed-by: Michael Sclafani <dm-devel@lists.linux.dev>
Signed-off-by: Michael Sclafani <dm-devel@lists.linux.dev>
Co-developed-by: Thomas Jaskiewicz <tom@jaskiewicz.us>
Signed-off-by: Thomas Jaskiewicz <tom@jaskiewicz.us>
Co-developed-by: Bruce Johnston <bjohnsto@redhat.com>
Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Co-developed-by: Ken Raeburn <raeburn@redhat.com>
Signed-off-by: Ken Raeburn <raeburn@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-vdo/thread-cond-var.c [new file with mode: 0644]
drivers/md/dm-vdo/thread-device.c [new file with mode: 0644]
drivers/md/dm-vdo/thread-device.h [new file with mode: 0644]
drivers/md/dm-vdo/thread-registry.c [new file with mode: 0644]
drivers/md/dm-vdo/thread-registry.h [new file with mode: 0644]
drivers/md/dm-vdo/uds-threads.c [new file with mode: 0644]
drivers/md/dm-vdo/uds-threads.h [new file with mode: 0644]