dm vdo: clean up and simplify thread utilities
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | dm vdo: make uds_*_semaphore interface private to uds-threads.cdrivers/ drivers/ | +39 | 0 replies | |
| 2/13 | dm vdo uds-threads: eliminate uds_*_semaphore interfacesdrivers/ drivers/ | +15 | 0 replies | |
| 3/13 | dm vdo uds-threads: push 'barrier' down to sparse-cachedrivers/ drivers/ drivers/ | +68 | 0 replies | |
| 4/13 | dm vdo indexer sparse-cache: cleanup threads_barrier codedrivers/ | +19 | 0 replies | |
| 5/13 | dm vdo: rename uds-threads.[ch] to thread-utils.[ch]drivers/ drivers/ drivers/ +11 more | +15 | 0 replies | |
| 6/13 | dm vdo indexer: rename uds.h to indexer.hdrivers/ drivers/ drivers/ +19 more | +23 | 0 replies | |
| 7/13 | dm vdo: fold thread-cond-var.c into thread-utilsdrivers/ drivers/ drivers/ +1 more | +34 | 0 replies | |
| 8/13 | dm vdo thread-utils: push uds_*_cond interface down to indexerdrivers/ drivers/ drivers/ +3 more | +40 | 0 replies | |
| 9/13 | dm vdo thread-utils: remove all uds_*_mutex wrappersdrivers/ drivers/ drivers/ +2 more | +96 | 0 replies | |
| 10/13 | dm vdo thread-utils: further cleanup of thread functionsdrivers/ drivers/ drivers/ +3 more | +15 | 0 replies | |
| 11/13 | dm vdo thread-utils: cleanup included headersdrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 12/13 | dm vdo thread-registry: rename all methods to reflect vdo-only usedrivers/ drivers/ drivers/ +1 more | +21 | 0 replies | |
| 13/13 | dm vdo thread-device: rename all methods to reflect vdo-only usedrivers/ drivers/ drivers/ +1 more | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] dm vdo: clean up and simplify thread utilities
Rename uds-threads to thread-utils, and simplify thread and synchronization utilities. Move some utilities closer to their only users.
Mike Snitzer (13):
dm vdo: make uds_*_semaphore interface private to uds-threads.c dm vdo uds-threads: eliminate uds_*_semaphore interfaces dm vdo uds-threads: push 'barrier' down to sparse-cache dm vdo indexer sparse-cache: cleanup threads_barrier code dm vdo: rename uds-threads.[ch] to thread-utils.[ch]
dm vdo indexer: rename uds.h to indexer.h
dm vdo: fold thread-cond-var.c into thread-utils
dm vdo thread-utils: push uds_*_cond interface down to indexer dm vdo thread-utils: remove all uds_*_mutex wrappers
dm vdo thread-utils: further cleanup of thread functions dm vdo thread-utils: cleanup included headers
dm vdo thread-registry: rename all methods to reflect vdo-only use dm vdo thread-device: rename all methods to reflect vdo-only use
drivers/md/dm-vdo/Makefile | 3 +-
drivers/md/dm-vdo/chapter-index.c | 2 +-
drivers/md/dm-vdo/config.c | 2 +-
drivers/md/dm-vdo/config.h | 2 +-
drivers/md/dm-vdo/data-vio.h | 2 +-
drivers/md/dm-vdo/dedupe.c | 2 +-
drivers/md/dm-vdo/dedupe.h | 2 +-
drivers/md/dm-vdo/delta-index.c | 2 +-
drivers/md/dm-vdo/dm-vdo-target.c | 30 ++--
drivers/md/dm-vdo/encodings.h | 2 +-
drivers/md/dm-vdo/funnel-queue.c | 1 -
drivers/md/dm-vdo/funnel-requestqueue.c | 10 +-
drivers/md/dm-vdo/funnel-requestqueue.h | 2 +-
drivers/md/dm-vdo/geometry.c | 2 +-
drivers/md/dm-vdo/geometry.h | 2 +-
drivers/md/dm-vdo/hash-utils.h | 2 +-
drivers/md/dm-vdo/index-layout.h | 2 +-
drivers/md/dm-vdo/index-page-map.c | 4 +-
drivers/md/dm-vdo/index-session.c | 138 ++++++++----------
drivers/md/dm-vdo/index-session.h | 4 +-
drivers/md/dm-vdo/index.c | 54 +++----
drivers/md/dm-vdo/{uds.h => indexer.h} | 30 +++-
drivers/md/dm-vdo/logger.c | 5 +-
drivers/md/dm-vdo/memory-alloc.c | 12 +-
drivers/md/dm-vdo/sparse-cache.c | 105 +++++++++----
drivers/md/dm-vdo/sparse-cache.h | 2 +-
drivers/md/dm-vdo/status-codes.c | 4 +-
drivers/md/dm-vdo/thread-cond-var.c | 46 ------
drivers/md/dm-vdo/thread-device.c | 18 +--
drivers/md/dm-vdo/thread-device.h | 14 +-
drivers/md/dm-vdo/thread-registry.c | 8 +-
drivers/md/dm-vdo/thread-registry.h | 14 +-
.../dm-vdo/{uds-threads.c => thread-utils.c} | 62 +-------
drivers/md/dm-vdo/thread-utils.h | 22 +++
drivers/md/dm-vdo/uds-sysfs.c | 2 +-
drivers/md/dm-vdo/uds-threads.h | 115 ---------------
drivers/md/dm-vdo/vdo.h | 2 +-
drivers/md/dm-vdo/volume-index.c | 44 +++---
drivers/md/dm-vdo/volume-index.h | 4 +-
drivers/md/dm-vdo/volume.c | 59 +++-----
drivers/md/dm-vdo/volume.h | 4 +-
41 files changed, 328 insertions(+), 514 deletions(-)
rename drivers/md/dm-vdo/{uds.h => indexer.h} (95%)
delete mode 100644 drivers/md/dm-vdo/thread-cond-var.c
rename drivers/md/dm-vdo/{uds-threads.c => thread-utils.c} (70%)
create mode 100644 drivers/md/dm-vdo/thread-utils.h
delete mode 100644 drivers/md/dm-vdo/uds-threads.hSignature · 1 line
2.42.0