diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-07-13 10:48:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-13 16:14:41 +0200 |
commit | 59a8f43b6341b6964a9956640bb0f21b083ccd66 (patch) | |
tree | 7a0fdcdbc77cfcb6907fb8b44647080dab452e1e /drivers/regulator/wm8350-regulator.c | |
parent | lightnvm: pblk: fix read_bitmap for 32bit archs (diff) | |
download | linux-59a8f43b6341b6964a9956640bb0f21b083ccd66.tar.xz linux-59a8f43b6341b6964a9956640bb0f21b083ccd66.zip |
lightnvm: limit get chunk meta request size
For devices that does not specify a limit on its transfer size, the
get_chk_meta command may send down a single I/O retrieving the full
chunk metadata table. Resulting in large 2-4MB I/O requests. Instead,
split up the I/Os to a maximum of 256KB and issue them separately to
reduce memory requirements.
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/regulator/wm8350-regulator.c')
0 files changed, 0 insertions, 0 deletions