commit | 07e5b2646f673a56c05a53c6a84bf5d0c949d290 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Apr 02 14:46:07 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Apr 02 14:46:07 2007 +0200 |
tree | 9cc9efb9c6ac2ae12c3686692623f637de1ec28a | |
parent | 12b8a831438e8b2f701bfff930242bcafcc6a9ee [diff] [blame] |
Fix disk utilization and ioscheduler switch on raw devices Add a method for mapping a raw device to the real block device, so our sysfs lookup stuff works as expected. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h index 07b40ff..a86a582 100644 --- a/fio.h +++ b/fio.h
@@ -648,7 +648,7 @@ char *name; char path[256]; - dev_t dev; + int major, minor; struct disk_util_stat dus; struct disk_util_stat last_dus;