lkml.org 
[lkml]   [2018]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] lightnvm: pblk: fixes for read buffer
Date
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

\
 
 \ /
  Last update: 2018-09-18 10:04    [W:0.060 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site