[PATCH 0/4] lightnvm: pblk: fixes for read buffer

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

 



This patchet's main motivation is to account for a corner case in which
the read constrains imposed by the device are not respected by pblk. In
the process, it also refactors parts of the read ring buffer to simplify
creation/deletion operations and improve readability.

Note that the checkpatch warnings on missing comments for memory
barriers are false positives.

The code is also available in the for-4.20/pblk branch in the OCSSD github
project.

Thanks,
Javier

Javier González (4):
  lightnvm: pblk: remove unused function
  lightnvm: pblk: encapsulate rb pointer operations
  lightnvm: pblk: move ring buffer alloc/free rb init
  lightnvm: pblk: guarantee mw_cunits on read buffer

 drivers/lightnvm/pblk-init.c  |  21 +++------
 drivers/lightnvm/pblk-rb.c    | 100 +++++++++++++++++++-----------------------
 drivers/lightnvm/pblk-write.c |   7 +--
 drivers/lightnvm/pblk.h       |  11 ++---
 4 files changed, 57 insertions(+), 82 deletions(-)

-- 
2.7.4




[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