lightnvm: rrpc: split bios of size > 256kb
authorJavier González <jg@lightnvm.io>
Mon, 28 Nov 2016 21:38:58 +0000 (22:38 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
commitf0b01b6a610f99fb7683d0f5259bb65649b0fd78
treea9d0df938719647e1550ad63106c55634033a8c3
parent402ab9a89d7b5bab08a5534027b39d80085ec19b
lightnvm: rrpc: split bios of size > 256kb

rrpc cannot handle bios of size > 256kb due to NVMe using a 64 bit
bitmap to signal I/O completion. If a larger bio comes, split it
explicitly.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.c