diff options
author | Javier González <javier@cnexlabs.com> | 2017-10-13 14:46:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 16:34:57 +0200 |
commit | 875d94f3a4838f2243334e5ce55ac8153f9bbf5b (patch) | |
tree | 93577e6000070396c0c3b6e42e51fe4dd9d593df /drivers/lightnvm/pblk-map.c | |
parent | lightnvm: pblk: simplify path on REQ_PREFLUSH (diff) | |
download | linux-875d94f3a4838f2243334e5ce55ac8153f9bbf5b.tar.xz linux-875d94f3a4838f2243334e5ce55ac8153f9bbf5b.zip |
lightnvm: pblk: allocate bio size more accurately
Wait until we know the exact number of ppas to be sent to the device,
before allocating the bio.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-map.c')
0 files changed, 0 insertions, 0 deletions