All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] dm vdo: standardize on VDO_SUCCESS
@ 2024-03-01  4:38 Matthew Sakai
  2024-03-01  4:38 ` [PATCH 01/10] dm vdo errors: remove unused error codes Matthew Sakai
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Matthew Sakai @ 2024-03-01  4:38 UTC (permalink / raw)
  To: dm-devel; +Cc: Matthew Sakai

Clean up code to consistently return and check for appropriate
return values, usually VDO_SUCCESS.

Matthew Sakai (2):
  dm vdo errors: remove unused error codes
  dm vdo indexer: update ASSERT and ASSERT_LOG_ONLY usage

Mike Snitzer (8):
  dm vdo memory-alloc: return VDO_SUCCESS on success
  dm vdo: check for VDO_SUCCESS return value from memory-alloc functions
  dm vdo int-map: return VDO_SUCCESS on success
  dm vdo thread-utils: return VDO_SUCCESS on vdo_create_thread success
  dm-vdo funnel-workqueue: return VDO_SUCCESS from
    make_simple_work_queue
  dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS
  dm vdo encodings: update some stale comments
  dm vdo target: eliminate inappropriate uses of UDS_SUCCESS

 drivers/md/dm-vdo/action-manager.c            |   8 +-
 drivers/md/dm-vdo/block-map.c                 | 128 +++++++-------
 drivers/md/dm-vdo/completion.c                |  10 +-
 drivers/md/dm-vdo/completion.h                |   6 +-
 drivers/md/dm-vdo/data-vio.c                  | 110 ++++++------
 drivers/md/dm-vdo/data-vio.h                  |  68 ++++----
 drivers/md/dm-vdo/dedupe.c                    | 165 +++++++++---------
 drivers/md/dm-vdo/dm-vdo-target.c             |  70 ++++----
 drivers/md/dm-vdo/encodings.c                 | 162 +++++++++--------
 drivers/md/dm-vdo/errors.c                    |   9 +-
 drivers/md/dm-vdo/errors.h                    |  13 +-
 drivers/md/dm-vdo/flush.c                     |  22 +--
 drivers/md/dm-vdo/funnel-queue.c              |   2 +-
 drivers/md/dm-vdo/funnel-workqueue.c          |  30 ++--
 drivers/md/dm-vdo/indexer/chapter-index.c     |  18 +-
 drivers/md/dm-vdo/indexer/config.c            |  18 +-
 drivers/md/dm-vdo/indexer/delta-index.c       | 100 +++++------
 .../md/dm-vdo/indexer/funnel-requestqueue.c   |   4 +-
 drivers/md/dm-vdo/indexer/geometry.c          |   2 +-
 drivers/md/dm-vdo/indexer/index-layout.c      |  23 +--
 drivers/md/dm-vdo/indexer/index-page-map.c    |   8 +-
 drivers/md/dm-vdo/indexer/index-session.c     |  14 +-
 drivers/md/dm-vdo/indexer/index.c             |  18 +-
 drivers/md/dm-vdo/indexer/io-factory.c        |   6 +-
 drivers/md/dm-vdo/indexer/open-chapter.c      |   4 +-
 drivers/md/dm-vdo/indexer/radix-sort.c        |   2 +-
 drivers/md/dm-vdo/indexer/sparse-cache.c      |   8 +-
 drivers/md/dm-vdo/indexer/volume-index.c      |  38 ++--
 drivers/md/dm-vdo/indexer/volume.c            |  48 ++---
 drivers/md/dm-vdo/int-map.c                   |  38 ++--
 drivers/md/dm-vdo/io-submitter.c              |  12 +-
 drivers/md/dm-vdo/logical-zone.c              |  22 +--
 drivers/md/dm-vdo/memory-alloc.c              |  36 ++--
 drivers/md/dm-vdo/memory-alloc.h              |   8 +-
 drivers/md/dm-vdo/message-stats.c             |   2 +-
 drivers/md/dm-vdo/packer.c                    |  12 +-
 drivers/md/dm-vdo/permassert.c                |   2 +-
 drivers/md/dm-vdo/permassert.h                |  15 +-
 drivers/md/dm-vdo/physical-zone.c             |  48 ++---
 drivers/md/dm-vdo/priority-table.c            |   4 +-
 drivers/md/dm-vdo/recovery-journal.c          |  60 +++----
 drivers/md/dm-vdo/repair.c                    |  12 +-
 drivers/md/dm-vdo/slab-depot.c                | 118 ++++++-------
 drivers/md/dm-vdo/status-codes.c              |  10 --
 drivers/md/dm-vdo/status-codes.h              |  32 +---
 drivers/md/dm-vdo/thread-registry.c           |   4 +-
 drivers/md/dm-vdo/thread-utils.c              |   4 +-
 drivers/md/dm-vdo/uds-sysfs.c                 |   2 +-
 drivers/md/dm-vdo/vdo.c                       |  34 ++--
 drivers/md/dm-vdo/vio.c                       |  40 ++---
 drivers/md/dm-vdo/vio.h                       |   8 +-
 51 files changed, 794 insertions(+), 843 deletions(-)

-- 
2.42.0


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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01  4:38 [PATCH 00/10] dm vdo: standardize on VDO_SUCCESS Matthew Sakai
2024-03-01  4:38 ` [PATCH 01/10] dm vdo errors: remove unused error codes Matthew Sakai
2024-03-01  4:38 ` [PATCH 02/10] dm vdo memory-alloc: return VDO_SUCCESS on success Matthew Sakai
2024-03-01  4:38 ` [PATCH 03/10] dm vdo: check for VDO_SUCCESS return value from memory-alloc functions Matthew Sakai
2024-03-01  4:38 ` [PATCH 04/10] dm vdo int-map: return VDO_SUCCESS on success Matthew Sakai
2024-03-01  4:38 ` [PATCH 05/10] dm vdo thread-utils: return VDO_SUCCESS on vdo_create_thread success Matthew Sakai
2024-03-01  4:38 ` [PATCH 06/10] dm-vdo funnel-workqueue: return VDO_SUCCESS from make_simple_work_queue Matthew Sakai
2024-03-01  4:38 ` [PATCH 07/10] dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS Matthew Sakai
2024-03-01  4:38 ` [PATCH 08/10] dm vdo encodings: update some stale comments Matthew Sakai
2024-03-01  4:38 ` [PATCH 09/10] dm vdo indexer: update ASSERT and ASSERT_LOG_ONLY usage Matthew Sakai
2024-03-01  4:38 ` [PATCH 10/10] dm vdo target: eliminate inappropriate uses of UDS_SUCCESS 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.