commit | 4d9345ae968ca92ace3dab06c25a9b73159cb329 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Feb 07 13:14:57 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Feb 07 13:14:57 2007 +0100 |
tree | 51a91be30f72665df144cea4c5305ee72c446537 | |
parent | 165faf16657c17b924a84e5601e17a516c76c135 [diff] [blame] |
[PATCH] Don't create files for engines that don't need them Introduce FIO_NULLIO as a way to control that from the io engine. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/stat.c b/stat.c index a98539f..a9e87aa 100644 --- a/stat.c +++ b/stat.c
@@ -205,7 +205,7 @@ dev_t dev; char *p; - if (!td->do_disk_util || (td->io_ops->flags & FIO_NETIO)) + if (!td->do_disk_util || (td->io_ops->flags & (FIO_NETIO | FIO_NULLIO))) return; /*