From: Ken Raeburn <raeburn@redhat.com>
To: dm-devel@lists.linux.dev
Cc: Ken Raeburn <raeburn@redhat.com>
Subject: [PATCH 0/3] dm vdo: update struct allocation and add flexible-array annotations
Date: Thu, 26 Feb 2026 20:12:05 -0500 [thread overview]
Message-ID: <cover.1772153845.git.raeburn@redhat.com> (raw)
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
next reply other threads:[~2026-02-27 1:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 1:12 Ken Raeburn [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1772153845.git.raeburn@redhat.com \
--to=raeburn@redhat.com \
--cc=dm-devel@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox