Skip to content

dm vdo memory-alloc: various fixes

Matthew Sakai dm-devel linux-block 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dm vdo memory-alloc: remove UDS_ALLOCATE_NOWAIT macrodrivers/md/dm-vdo/flush.c drivers/md/dm-vdo/memory-alloc.h+4 -60 replies
2/8dm vdo memory-alloc: rename UDS_FORGET to uds_forgetdrivers/md/dm-vdo-target.c drivers/md/dm-vdo/admin-state.c drivers/md/dm-vdo/block-map.c +22 more+140 -1400 replies
3/8dm vdo memory-alloc: rename UDS_FREE to uds_freedrivers/md/dm-vdo-target.c drivers/md/dm-vdo/block-map.c drivers/md/dm-vdo/chapter-index.c +38 more+190 -1900 replies
4/8dm vdo memory-alloc: rename UDS_ALLOCATE to uds_allocatedrivers/md/dm-vdo-target.c drivers/md/dm-vdo/action-manager.c drivers/md/dm-vdo/block-map.c +32 more+108 -1080 replies
5/8dm vdo memory-alloc: rename UDS_ALLOCATE_EXTENDED to uds_allocate_extendeddrivers/md/dm-vdo/block-map.c drivers/md/dm-vdo/data-vio.c drivers/md/dm-vdo/dedupe.c +14 more+26 -260 replies
6/8dm vdo memory-alloc: rename uds_free_memory to uds_freedrivers/md/dm-vdo/memory-alloc.c drivers/md/dm-vdo/memory-alloc.h+2 -40 replies
7/8dm vdo memory-alloc: cleanup flow of memory-alloc.hdrivers/md/dm-vdo/memory-alloc.h+25 -260 replies
8/8dm vdo memory-alloc: mark branch unlikely() in uds_allocate_memory()drivers/md/dm-vdo/memory-alloc.c+2 -60 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchSusan LeGendre-McGhee
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] dm vdo memory-alloc: various fixes

This patchset includes various fixes to make the interface to the dm-vdo memory allocator cleaner.

Mike Snitzer (8):
dm vdo memory-alloc: remove UDS_ALLOCATE_NOWAIT macro
dm vdo memory-alloc: rename UDS_FORGET to uds_forget
dm vdo memory-alloc: rename UDS_FREE to uds_free
dm vdo memory-alloc: rename UDS_ALLOCATE to uds_allocate dm vdo memory-alloc: rename UDS_ALLOCATE_EXTENDED to
uds_allocate_extended
dm vdo memory-alloc: rename uds_free_memory to uds_free dm vdo memory-alloc: cleanup flow of memory-alloc.h
dm vdo memory-alloc: mark branch unlikely() in uds_allocate_memory()

 drivers/md/dm-vdo-target.c              | 36 +++++------
 drivers/md/dm-vdo/action-manager.c      |  2 +-
 drivers/md/dm-vdo/admin-state.c         |  2 +-
 drivers/md/dm-vdo/block-map.c           | 58 ++++++++---------
 drivers/md/dm-vdo/chapter-index.c       |  6 +-
 drivers/md/dm-vdo/config.c              |  4 +-
 drivers/md/dm-vdo/data-vio.c            | 18 +++---
 drivers/md/dm-vdo/dedupe.c              | 30 ++++-----
 drivers/md/dm-vdo/delta-index.c         | 20 +++---
 drivers/md/dm-vdo/encodings.c           |  4 +-
 drivers/md/dm-vdo/flush.c               | 12 ++--
 drivers/md/dm-vdo/funnel-queue.c        |  4 +-
 drivers/md/dm-vdo/funnel-requestqueue.c |  4 +-
 drivers/md/dm-vdo/funnel-workqueue.c    | 26 ++++----
 drivers/md/dm-vdo/geometry.c            |  4 +-
 drivers/md/dm-vdo/index-layout.c        | 58 ++++++++---------
 drivers/md/dm-vdo/index-page-map.c      | 20 +++---
 drivers/md/dm-vdo/index-session.c       | 14 ++--
 drivers/md/dm-vdo/index.c               | 28 ++++----
 drivers/md/dm-vdo/int-map.c             | 14 ++--
 drivers/md/dm-vdo/io-factory.c          | 14 ++--
 drivers/md/dm-vdo/io-submitter.c        | 10 +--
 drivers/md/dm-vdo/logical-zone.c        |  8 +--
 drivers/md/dm-vdo/memory-alloc.c        | 24 +++----
 drivers/md/dm-vdo/memory-alloc.h        | 65 +++++++++----------
 drivers/md/dm-vdo/message-stats.c       |  4 +-
 drivers/md/dm-vdo/open-chapter.c        |  6 +-
 drivers/md/dm-vdo/packer.c              | 14 ++--
 drivers/md/dm-vdo/physical-zone.c       | 16 ++---
 drivers/md/dm-vdo/pointer-map.c         | 14 ++--
 drivers/md/dm-vdo/pool-sysfs.c          |  2 +-
 drivers/md/dm-vdo/priority-table.c      |  4 +-
 drivers/md/dm-vdo/radix-sort.c          |  4 +-
 drivers/md/dm-vdo/recovery-journal.c    | 36 +++++------
 drivers/md/dm-vdo/repair.c              | 24 +++----
 drivers/md/dm-vdo/slab-depot.c          | 80 +++++++++++------------
 drivers/md/dm-vdo/slab-depot.h          |  2 +-
 drivers/md/dm-vdo/sparse-cache.c        | 18 +++---
 drivers/md/dm-vdo/uds-sysfs.c           |  4 +-
 drivers/md/dm-vdo/uds-threads.c         |  6 +-
 drivers/md/dm-vdo/vdo.c                 | 86 ++++++++++++-------------
 drivers/md/dm-vdo/vio.c                 | 20 +++---
 drivers/md/dm-vdo/volume-index.c        | 16 ++---
 drivers/md/dm-vdo/volume.c              | 36 +++++------
 44 files changed, 434 insertions(+), 443 deletions(-)
Signature · 1 line
2.40.0