commit | e0b0d89201bd301f47fbbfcf86545b7e77b16ef3 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Dec 08 10:10:14 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Dec 08 10:10:14 2009 +0100 |
tree | cc7d1876b98a859590f117a5005e41bae04391b5 | |
parent | 82830b03d854b8e018241b90c2d9fd83752a3236 [diff] [blame] |
Add support for specifying UID/GID Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c index 16908a0..f628062 100644 --- a/options.c +++ b/options.c
@@ -1741,6 +1741,18 @@ .maxval = 1000, }, { + .name = "uid", + .type = FIO_OPT_INT, + .off1 = td_var_offset(uid), + .help = "Run job with this user ID", + }, + { + .name = "gid", + .type = FIO_OPT_INT, + .off1 = td_var_offset(gid), + .help = "Run job with this group ID", + }, + { .name = NULL, }, };