diff options
author | Javier González <javier@cnexlabs.com> | 2017-10-13 14:46:05 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 08:34:57 -0600 |
commit | da67e68fb9d37fb9072b20cc75d4337a73bc01b4 (patch) | |
tree | 81f0a1b1872dfaf14959b8f8b730bafcf512c309 /lib/usercopy.c | |
parent | e0e12a707f02fcde1b77a2417d9fb0ae1ce3b003 (diff) | |
download | linux-da67e68fb9d37fb9072b20cc75d4337a73bc01b4.tar.bz2 |
lightnvm: pblk: avoid deadlock on low LUN config
On low LUN configurations, make sure not to send bios that are bigger
than the buffer size.
Fixes: a4bd217b4326 ("lightnvm: physical block device (pblk) target")
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 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions