Recent changes (master)
The following changes since commit 847d544cce05157ec36f50b8214b26aff83aef01:
Style cleanups for arm crc32c hw support (2017-01-04 19:44:35 -0700)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 8c4e634a44ca35a21387b79ae6e701f951e2cb0c:
init: cleaner gcd() (2017-01-05 10:38:41 -0700)
----------------------------------------------------------------
Jens Axboe (5):
verify: use log_verify_failure() for pattern verifies Remove '--runtime' command line option
verify: ensure that verify_interval is always a factor of min/max bs
verify: fill in vc->name for pattern verify
init: cleaner gcd()
Tomohiro Kusumi (2):
Fix invalid ioengine initialization for cpp_null Don't malloc ioengine_ops for cpp_null
README | 1 - engines/null.c | 28 +++++++++++++--------------- init.c | 47 +++++++++++++++++++++-------------------------- io_u.c | 4 ---- verify.c | 3 ++- 5 files changed, 36 insertions(+), 47 deletions(-)
---
Diff of recent changes:
README +0 -1
@@ -152,7 +152,6 @@ $ fio --debug Enable some debugging options (see below) --parse-only Parse options only, don't start any IO --output Write output to file - --runtime Runtime in seconds --bandwidth-log Generate aggregate bandwidth logs --minimal Minimal (terse) output --output-format=type Output format (terse,json,json+,normal)
engines/null.c +13 -15
@@ -135,23 +135,21 @@ static void fio_exit fio_null_unregister(void)#ifdef FIO_EXTERNAL_ENGINE extern "C" { +static struct ioengine_ops ioengine;void get_ioengine (struct ioengine_ops **ioengine_ptr) { -struct ioengine_ops *ioengine; - - *ioengine_ptr = (struct ioengine_ops *)malloc (sizeof (struct ioengine_ops )); - ioengine = *ioengine_ptr; - -strcpy (ioengine->name,"cpp_null" ); - ioengine->version =FIO_IOOPS_VERSION ; - ioengine->queue = fio_null_queue; - ioengine->commit = fio_null_commit; - ioengine->getevents = fio_null_getevents; - ioengine->event = fio_null_event; - ioengine->init = fio_null_init; - ioengine->cleanup = fio_null_cleanup; - ioengine->open_file = fio_null_open; - ioengine->flags =FIO_DISKLESSIO |FIO_FAKEIO ; + *ioengine_ptr = &ioengine; + + ioengine.name ="cpp_null" ; + ioengine.version =FIO_IOOPS_VERSION ; + ioengine.queue = fio_null_queue; + ioengine.commit = fio_null_commit; + ioengine.getevents = fio_null_getevents; + ioengine.event = fio_null_event; + ioengine.init = fio_null_init; + ioengine.cleanup = fio_null_cleanup; + ioengine.open_file = fio_null_open; + ioengine.flags =FIO_DISKLESSIO |FIO_FAKEIO ; } }#endif /* FIO_EXTERNAL_ENGINE */
init.c +21 -26
102 lines not on this page · raw message
io_u.c +0 -4
@@ -576,10 +576,6 @@ static unsigned int __get_next_buflen(struct thread_data *td, struct io_u *io_u, } } -if (td->o.verify !=VERIFY_NONE ) - buflen = (buflen + td->o.verify_interval -1 ) & - ~(td->o.verify_interval -1 ); -if (!td->o.bs_unaligned &&is_power_of_2 (minbs)) buflen &= ~(minbs -1 );
verify.c +2 -1
@@ -393,7 +393,8 @@ static int verify_io_u_pattern(struct verify_header *hdr, struct vcont *vc) (unsigned char )pattern[mod], bits);log_err ("fio: bad pattern block offset %u\n" , i); -dump_verify_buffers (hdr, vc); + vc->name ="pattern" ; +log_verify_failure (hdr, vc);return EILSEQ ; } mod++;