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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.40.0





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux