summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorTomohiro Kusumi <tkusumi@tuxera.com>2017-01-19 02:38:23 +0900
committerJens Axboe <axboe@fb.com>2017-01-19 16:09:52 -0700
commit686fbd314c2113db5c9cd367a65f1e5abe47bce1 (patch)
treeba0a73ff04c9ad9eff39db711881ae84bba951e6 /file.h
parent42c3f3daa815c6e792dfc817baabb4090554075a (diff)
Rename FIO_TYPE_BD to FIO_TYPE_BLOCK
Since character device is FIO_TYPE_CHAR, BLOCK (or BLK) makes better sense for block device. This may break external ioengines on compile-time, but ioengines usually don't refer to file type which are regfile/blk/chr/pipe (which I believe makes sense to commit this change as there's been changes that break not only api but also abi). Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'file.h')
-rw-r--r--file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.h b/file.h
index 6f34dd5..ac00ff8 100644
--- a/file.h
+++ b/file.h
@@ -15,7 +15,7 @@
*/
enum fio_filetype {
FIO_TYPE_FILE = 1, /* plain file */
- FIO_TYPE_BD, /* block device */
+ FIO_TYPE_BLOCK, /* block device */
FIO_TYPE_CHAR, /* character device */
FIO_TYPE_PIPE, /* pipe */
};