mtd: ioengine
authorDan Ehrenberg <dehrenberg@chromium.org>
Tue, 14 Apr 2015 22:58:19 +0000 (15:58 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 00:19:14 +0000 (18:19 -0600)
commit65fa28ca25ff0128b13d8ab6b3a0f9f75e33825f
tree7c70837525607119968648b43852db5ae92c6025
parent94e9e396f20a7885d200e4fd44e018d41a07b21a
mtd: ioengine

This patch adds an MTD ioengine. Trims are interpreted as MTD erases.
A skip_bad option calls out to the kernel to ask if the block being
operated on is bad first; if it is bad, the operation is skipped
and -EIO is returned.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
HOWTO
Makefile
engines/mtd.c [new file with mode: 0644]
fio.1
options.c
options.h
thread_options.h