All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] dm vdo: update struct allocation and add flexible-array annotations
@ 2026-02-27  1:12 Ken Raeburn
  2026-02-27  1:12 ` [PATCH 1/3] dm vdo: update vdo_allocate_extended to take a field name, no types Ken Raeburn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ken Raeburn @ 2026-02-27  1:12 UTC (permalink / raw)
  To: dm-devel; +Cc: Ken Raeburn

These patches update VDO's structure management to better align with
other kernel behavior: using overflow.h macros when computing
allocation sizes, and adding __counted_by annotations to structures
where appropriate.

Ken Raeburn (3):
  dm vdo: update vdo_allocate_extended to take a field name, no types
  dm vdo: remove redundant TYPE argument from vdo_allocate macro
  dm vdo: add __counted_by attribute to a number of structures

 drivers/md/dm-vdo/action-manager.c            |  2 +-
 drivers/md/dm-vdo/block-map.c                 | 32 +++-----
 drivers/md/dm-vdo/block-map.h                 |  2 +-
 drivers/md/dm-vdo/data-vio.c                  |  3 +-
 drivers/md/dm-vdo/dedupe.c                    |  8 +-
 drivers/md/dm-vdo/dm-vdo-target.c             | 12 ++-
 drivers/md/dm-vdo/encodings.c                 |  2 +-
 drivers/md/dm-vdo/flush.c                     |  4 +-
 drivers/md/dm-vdo/funnel-queue.c              |  2 +-
 drivers/md/dm-vdo/funnel-workqueue.c          |  8 +-
 drivers/md/dm-vdo/indexer/chapter-index.c     |  2 +-
 drivers/md/dm-vdo/indexer/config.c            |  2 +-
 drivers/md/dm-vdo/indexer/delta-index.c       | 13 ++--
 .../md/dm-vdo/indexer/funnel-requestqueue.c   |  2 +-
 drivers/md/dm-vdo/indexer/geometry.c          |  2 +-
 drivers/md/dm-vdo/indexer/index-layout.c      | 25 +++----
 drivers/md/dm-vdo/indexer/index-page-map.c    |  8 +-
 drivers/md/dm-vdo/indexer/index-session.c     |  2 +-
 drivers/md/dm-vdo/indexer/index.c             | 14 ++--
 drivers/md/dm-vdo/indexer/index.h             |  2 +-
 drivers/md/dm-vdo/indexer/io-factory.c        |  6 +-
 drivers/md/dm-vdo/indexer/open-chapter.c      |  4 +-
 drivers/md/dm-vdo/indexer/open-chapter.h      |  2 +-
 drivers/md/dm-vdo/indexer/radix-sort.c        |  3 +-
 drivers/md/dm-vdo/indexer/sparse-cache.c      | 10 +--
 drivers/md/dm-vdo/indexer/volume-index.c      | 10 +--
 drivers/md/dm-vdo/indexer/volume.c            | 22 +++---
 drivers/md/dm-vdo/int-map.c                   |  5 +-
 drivers/md/dm-vdo/io-submitter.c              |  3 +-
 drivers/md/dm-vdo/logical-zone.c              |  3 +-
 drivers/md/dm-vdo/logical-zone.h              |  2 +-
 drivers/md/dm-vdo/memory-alloc.c              |  8 +-
 drivers/md/dm-vdo/memory-alloc.h              | 74 +++----------------
 drivers/md/dm-vdo/message-stats.c             |  2 +-
 drivers/md/dm-vdo/packer.c                    |  9 +--
 drivers/md/dm-vdo/physical-zone.c             |  8 +-
 drivers/md/dm-vdo/priority-table.c            |  3 +-
 drivers/md/dm-vdo/recovery-journal.c          | 23 +++---
 drivers/md/dm-vdo/repair.c                    | 17 ++---
 drivers/md/dm-vdo/slab-depot.c                | 37 ++++------
 drivers/md/dm-vdo/slab-depot.h                |  2 +-
 drivers/md/dm-vdo/thread-utils.c              |  2 +-
 drivers/md/dm-vdo/vdo.c                       | 32 ++++----
 drivers/md/dm-vdo/vio.c                       | 12 ++-
 44 files changed, 162 insertions(+), 284 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-02-27  1:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27  1:12 [PATCH 0/3] dm vdo: update struct allocation and add flexible-array annotations Ken Raeburn
2026-02-27  1:12 ` [PATCH 1/3] dm vdo: update vdo_allocate_extended to take a field name, no types Ken Raeburn
2026-02-27  1:12 ` [PATCH 2/3] dm vdo: remove redundant TYPE argument from vdo_allocate macro Ken Raeburn
2026-02-27  1:12 ` [PATCH 3/3] dm vdo: add __counted_by attribute to a number of structures Ken Raeburn

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.