X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fsync.c;fp=engines%2Fsync.c;h=e76bbbb49e237b807c855d74dd0e40995ef7c0ad;hp=69d5e2156c34c7ae25c2a6b0fefc434169319320;hb=ae8e559e8a442f72cfe2751e93471aed75f5c74e;hpb=594f7abb0c3e5ea4174b1d450959305f827cbdfd diff --git a/engines/sync.c b/engines/sync.c index 69d5e215..e76bbbb4 100644 --- a/engines/sync.c +++ b/engines/sync.c @@ -36,7 +36,6 @@ struct syncio_data { struct psyncv2_options { void *pad; unsigned int hipri; - unsigned int stream; }; static struct fio_option options[] = { @@ -49,29 +48,6 @@ static struct fio_option options[] = { .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, - { - .name = "stream", - .lname = "Stream ID", - .type = FIO_OPT_STR, - .off1 = offsetof(struct psyncv2_options, stream), - .help = "Set expected write life time", - .category = FIO_OPT_C_ENGINE, - .group = FIO_OPT_G_INVALID, - .posval = { - { .ival = "short", - .oval = RWF_WRITE_LIFE_SHORT, - }, - { .ival = "medium", - .oval = RWF_WRITE_LIFE_MEDIUM, - }, - { .ival = "long", - .oval = RWF_WRITE_LIFE_LONG, - }, - { .ival = "extreme", - .oval = RWF_WRITE_LIFE_EXTREME, - }, - }, - }, { .name = NULL, }, @@ -158,8 +134,6 @@ static int fio_pvsyncio2_queue(struct thread_data *td, struct io_u *io_u) if (o->hipri) flags |= RWF_HIPRI; - if (o->stream) - flags |= o->stream; iov->iov_base = io_u->xfer_buf; iov->iov_len = io_u->xfer_buflen;