diff options
author | Javier González <jg@lightnvm.io> | 2017-06-26 05:57:19 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-26 18:27:39 -0400 |
commit | 0880a9aa2d91ff5131ecd0902a758afe760b9c1c (patch) | |
tree | 4a6859cc239610cf63a4a4875a6048e5b6a6b680 /drivers/lightnvm/pblk-map.c | |
parent | fd1b0158f5f5937d73d5c61e229350c6b905d0da (diff) |
lightnvm: pblk: delete redundant buffer pointer
After refactoring the metadata path, the backpointer controlling
synced I/Os in a line becomes unnecessary; metadata is scheduled
on the write thread, thus we know when the end of the line is reached
and act on it directly.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-map.c')
-rw-r--r-- | drivers/lightnvm/pblk-map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/pblk-map.c b/drivers/lightnvm/pblk-map.c index 08580a649499..9942d9bc7b3a 100644 --- a/drivers/lightnvm/pblk-map.c +++ b/drivers/lightnvm/pblk-map.c | |||
@@ -56,7 +56,7 @@ static void pblk_map_page_data(struct pblk *pblk, unsigned int sentry, | |||
56 | u64 addr_empty = cpu_to_le64(ADDR_EMPTY); | 56 | u64 addr_empty = cpu_to_le64(ADDR_EMPTY); |
57 | 57 | ||
58 | lba_list[paddr] = meta_list[i].lba = addr_empty; | 58 | lba_list[paddr] = meta_list[i].lba = addr_empty; |
59 | pblk_map_pad_invalidate(pblk, line, paddr); | 59 | __pblk_map_invalidate(pblk, line, paddr); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 | ||