mbox series

[V4,0/2] lightnvm: pblk: take write semaphore on metadata

Message ID 1535532980-27672-1-git-send-email-javier@cnexlabs.com (mailing list archive)
Headers show
Series lightnvm: pblk: take write semaphore on metadata | expand

Message

Javier González Aug. 29, 2018, 8:56 a.m. UTC
# Changes since V3:
  - Encapsulate rqd dma allocations to reduce code replication (by Matias)

# Changes since V2:
  - Split the original patch between the metadata refactoring and the
    semaphore logic. This simplifies the write path, where the semaphore
    is taken.

# Changes singe V1:
  - Fix double I/O on the read path (by Matias)
    - Improve commit message (by Jens)

    This patchset refactors the metadata separate write and read paths,
    which simplifies how the semaphore is taken for writes.

    Thanks,
    Javier

Javier González (3):
  lightnvm: pblk: refactor metadata paths
  lightnvm: encapsule rqd dma allocations
  lightnvm: pblk: take write semaphore on metadata

 drivers/lightnvm/pblk-core.c     | 377 ++++++++++++++++++++-------------------
 drivers/lightnvm/pblk-gc.c       |   2 +-
 drivers/lightnvm/pblk-read.c     |  35 ++--
 drivers/lightnvm/pblk-recovery.c |  33 ++--
 drivers/lightnvm/pblk-write.c    |  15 +-
 drivers/lightnvm/pblk.h          |   8 +-
 6 files changed, 230 insertions(+), 240 deletions(-)