All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] dm vdo: clean up and simplify thread utilities
@ 2024-03-01  3:52 Matthew Sakai
  2024-03-01  3:52 ` [PATCH 01/13] dm vdo: make uds_*_semaphore interface private to uds-threads.c Matthew Sakai
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Matthew Sakai @ 2024-03-01  3:52 UTC (permalink / raw)
  To: dm-devel; +Cc: Matthew Sakai

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.h

-- 
2.42.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-03-01  3:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01  3:52 [PATCH 00/13] dm vdo: clean up and simplify thread utilities Matthew Sakai
2024-03-01  3:52 ` [PATCH 01/13] dm vdo: make uds_*_semaphore interface private to uds-threads.c Matthew Sakai
2024-03-01  3:52 ` [PATCH 02/13] dm vdo uds-threads: eliminate uds_*_semaphore interfaces Matthew Sakai
2024-03-01  3:52 ` [PATCH 03/13] dm vdo uds-threads: push 'barrier' down to sparse-cache Matthew Sakai
2024-03-01  3:52 ` [PATCH 04/13] dm vdo indexer sparse-cache: cleanup threads_barrier code Matthew Sakai
2024-03-01  3:52 ` [PATCH 05/13] dm vdo: rename uds-threads.[ch] to thread-utils.[ch] Matthew Sakai
2024-03-01  3:52 ` [PATCH 06/13] dm vdo indexer: rename uds.h to indexer.h Matthew Sakai
2024-03-01  3:52 ` [PATCH 07/13] dm vdo: fold thread-cond-var.c into thread-utils Matthew Sakai
2024-03-01  3:53 ` [PATCH 08/13] dm vdo thread-utils: push uds_*_cond interface down to indexer Matthew Sakai
2024-03-01  3:53 ` [PATCH 09/13] dm vdo thread-utils: remove all uds_*_mutex wrappers Matthew Sakai
2024-03-01  3:53 ` [PATCH 10/13] dm vdo thread-utils: further cleanup of thread functions Matthew Sakai
2024-03-01  3:53 ` [PATCH 11/13] dm vdo thread-utils: cleanup included headers Matthew Sakai
2024-03-01  3:53 ` [PATCH 12/13] dm vdo thread-registry: rename all methods to reflect vdo-only use Matthew Sakai
2024-03-01  3:53 ` [PATCH 13/13] dm vdo thread-device: " Matthew Sakai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.