diff options
author | Javier González <javier@javigon.com> | 2018-10-09 14:12:09 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-10-09 17:25:08 +0300 |
commit | 40b8657dcc0bbd4a293cac1acd4b0b01c0359416 (patch) | |
tree | 132bc7832c197a44c16c38a59441803027fad974 /MAINTAINERS | |
parent | dde4aac20babee040875f76842a31b14b76dd369 (diff) | |
download | linux-40b8657dcc0bbd4a293cac1acd4b0b01c0359416.tar.xz |
lightnvm: pblk: encapsulate rb pointer operations
pblk's read/write buffer is always a power-of-2, thus wrapping up the
buffer can be done with a bit mask. Since this is an implementation
detail internal to the write buffer, make a helper that hides pointer
increment + wrap, and allows to transparently relax this assumption in
the future.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions