diff options
author | Richard Weinberger <richard@nod.at> | 2015-01-10 22:52:14 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-01-28 16:05:20 +0100 |
commit | ff1f48ee3bb3af226f1f8993af0103794b4d4eab (patch) | |
tree | f0a8541666b2b64a5d90cde7b310f50cbd2ce5e5 /lib/test_bpf.c | |
parent | 9ff08979e17423f0f691c1d76f35dfec72a5e459 (diff) |
UBI: Block: Add blk-mq support
Convert the driver to blk-mq.
Beside of moving to the modern block interface this change boosts
also the performance of the driver.
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron NAND 256MiB 3,3V 8-bit
nand: 256MiB, SLC, page size: 2048, OOB size: 64
root@debian-armhf:~# dd if=/dev/ubiblock0_0 of=/dev/zero bs=1M
243+1 records in
243+1 records out
255080448 bytes (255 MB) copied, 4.39295 s, 58.1 MB/s
vs.
root@debian-armhf:~# dd if=/dev/ubiblock0_0 of=/dev/zero bs=1M
243+1 records in
243+1 records out
255080448 bytes (255 MB) copied, 2.87676 s, 88.7 MB/s
Cc: hch@infradead.org
Cc: axboe@fb.com
Cc: tom.leiming@gmail.com
Signed-off-by: Richard Weinberger <richard@nod.at>
Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Reviewed-by: Jens Axboe <axboe@fb.com>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions