From de8f6de97438d5664cd8765e60102b9109a273e2 Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Thu, 26 Sep 2013 16:31:34 -0700 Subject: [PATCH] Fix misspellings using 'codespell' tool Signed-off-by: Jens Axboe --- HOWTO | 12 ++++++------ engines/falloc.c | 2 +- engines/rdma.c | 2 +- engines/skeleton_external.c | 2 +- examples/e4defrag2.fio | 2 +- filesetup.c | 2 +- fio.1 | 6 +++--- idletime.h | 2 +- init.c | 2 +- json.c | 2 +- lib/axmap.c | 2 +- tools/fio_generate_plots | 2 +- verify.c | 2 +- 13 files changed, 20 insertions(+), 20 deletions(-) diff --git a/HOWTO b/HOWTO index 005dac25..ac6e258f 100644 --- a/HOWTO +++ b/HOWTO @@ -870,11 +870,11 @@ rate_iops=int Cap the bandwidth to this number of IOPS. Basically the same as rate, just specified independently of bandwidth. If the job is given a block size range instead of a fixed value, the smallest block size is used as the metric. The same format - as rate is used for read vs write seperation. + as rate is used for read vs write separation. rate_iops_min=int If fio doesn't meet this rate of IO, it will cause the job to exit. The same format as rate is used for read vs - write seperation. + write separation. max_latency=int If set, fio will exit the job if it exceeds this maximum latency. It will exit with an ETIME error. @@ -1163,7 +1163,7 @@ verify_backlog_batch=int Control how many blocks fio will verify blocks will be verified more than once. stonewall -wait_for_previous Wait for preceeding jobs in the job file to exit, before +wait_for_previous Wait for preceding jobs in the job file to exit, before starting this one. Can be used to insert serialization points in the job file. A stone wall also implies starting a new reporting group. @@ -1219,7 +1219,7 @@ replay_no_stall=int When replaying I/O with read_iolog the default behavior replay_redirect=str While replaying I/O patterns using read_iolog the default behavior is to replay the IOPS onto the major/minor device that each IOP was recorded from. This is sometimes - undesireable because on a different machine those major/minor + undesirable because on a different machine those major/minor numbers can map to a different device. Changing hardware on the same system can also result in a different major/minor mapping. Replay_redirect causes all IOPS to be replayed onto @@ -1690,9 +1690,9 @@ Split up, the format is as follows: Read merges, write merges, Read ticks, write ticks, Time spent in queue, disk utilization percentage - Additional Info (dependant on continue_on_error, default off): total # errors, first error code + Additional Info (dependent on continue_on_error, default off): total # errors, first error code - Additional Info (dependant on description being set): Text description + Additional Info (dependent on description being set): Text description Completion latency percentiles can be a grouping of up to 20 sets, so for the terse output fio writes all of them. Each field will look like this: diff --git a/engines/falloc.c b/engines/falloc.c index 4654fe81..8025085b 100644 --- a/engines/falloc.c +++ b/engines/falloc.c @@ -4,7 +4,7 @@ * IO engine that does regular fallocate to simulate data transfer * as fio ioengine. * DDIR_READ does fallocate(,mode = FALLOC_FL_KEEP_SIZE,) - * DDIR_WRITE does fallocate(,mode = 0) : fallocate with size extention + * DDIR_WRITE does fallocate(,mode = 0) : fallocate with size extension * DDIR_TRIM does fallocate(,mode = FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE) * */ diff --git a/engines/rdma.c b/engines/rdma.c index 81f16736..af50187a 100644 --- a/engines/rdma.c +++ b/engines/rdma.c @@ -869,7 +869,7 @@ static int fio_rdmaio_close_file(struct thread_data *td, struct fio_file *f) return 1; } - dprint(FD_IO, "fio: close infomation sent success\n"); + dprint(FD_IO, "fio: close information sent success\n"); rdma_poll_wait(td, IBV_WC_SEND); } diff --git a/engines/skeleton_external.c b/engines/skeleton_external.c index 548676a7..f9a0e1cd 100644 --- a/engines/skeleton_external.c +++ b/engines/skeleton_external.c @@ -99,7 +99,7 @@ static int fio_skeleton_init(struct thread_data *td) } /* - * This is paired with the ->init() funtion and is called when a thread is + * This is paired with the ->init() function and is called when a thread is * done doing io. Should tear down anything setup by the ->init() function. * Not required. */ diff --git a/examples/e4defrag2.fio b/examples/e4defrag2.fio index 818618af..c6485997 100644 --- a/examples/e4defrag2.fio +++ b/examples/e4defrag2.fio @@ -1,6 +1,6 @@ ################################################# # Hardcode defragmentation patterns -# Please be carefull, it can trigger kernel panic +# Please be careful, it can trigger kernel panic ################################################# [global] ioengine=e4defrag diff --git a/filesetup.c b/filesetup.c index 33b47c92..4265e383 100644 --- a/filesetup.c +++ b/filesetup.c @@ -584,7 +584,7 @@ open_again: * work-around a "feature" on Linux, where a close of * an fd that has been opened for write will trigger * udev to call blkid to check partitions, fs id, etc. - * That polutes the device cache, which can slow down + * That pollutes the device cache, which can slow down * unbuffered accesses. */ if (f->shadow_fd == -1) diff --git a/fio.1 b/fio.1 index b8082afd..07e4a622 100644 --- a/fio.1 +++ b/fio.1 @@ -353,7 +353,7 @@ comma isn't given, the remainder will inherit the last value set. Specify a range of I/O block sizes. The issued I/O unit will always be a multiple of the minimum size, unless \fBblocksize_unaligned\fR is set. Applies to both reads and writes if only one range is given, but can be specified -separately with a comma seperating the values. Example: bsrange=1k-4k,2k-8k. +separately with a comma separating the values. Example: bsrange=1k-4k,2k-8k. Also (see \fBblocksize\fR). .TP .BI bssplit \fR=\fPstr @@ -738,12 +738,12 @@ as \fBrate\fR is used for read vs write separation. .BI rate_iops \fR=\fPint Cap the bandwidth to this number of IOPS. Basically the same as rate, just specified independently of bandwidth. The same format as \fBrate\fR is used for -read vs write seperation. If \fBblocksize\fR is a range, the smallest block +read vs write separation. If \fBblocksize\fR is a range, the smallest block size is used as the metric. .TP .BI rate_iops_min \fR=\fPint If this rate of I/O is not met, the job will exit. The same format as \fBrate\fR -is used for read vs write seperation. +is used for read vs write separation. .TP .BI ratecycle \fR=\fPint Average bandwidth for \fBrate\fR and \fBratemin\fR over this number of diff --git a/idletime.h b/idletime.h index acb8407d..819da25e 100644 --- a/idletime.h +++ b/idletime.h @@ -27,7 +27,7 @@ struct idle_prof_thread { int state; struct timeval tps; struct timeval tpe; - double cali_time; /* microseconds to finish a unit wrok */ + double cali_time; /* microseconds to finish a unit work */ double loops; double idleness; unsigned char *data; /* bytes to be touched */ diff --git a/init.c b/init.c index bf54e953..b45b039e 100644 --- a/init.c +++ b/init.c @@ -1279,7 +1279,7 @@ int parse_jobs_ini(char *file, int is_buf, int stonewall_flag, int type) } /* - * Seperate multiple job files by a stonewall + * Separate multiple job files by a stonewall */ if (!global && stonewall) { td->o.stonewall = stonewall; diff --git a/json.c b/json.c index cdc3b218..cba370ab 100644 --- a/json.c +++ b/json.c @@ -84,7 +84,7 @@ static char *strdup_escape(const char *str) } /* - * Valid JSON strings must escape '"' and '/' with a preceeding '/' + * Valid JSON strings must escape '"' and '/' with a preceding '/' */ static struct json_value *json_create_value_string(const char *str) { diff --git a/lib/axmap.c b/lib/axmap.c index c9f3a4f1..15cd6350 100644 --- a/lib/axmap.c +++ b/lib/axmap.c @@ -5,7 +5,7 @@ * nothing to do with anything remotely narcissistic. * * A set bit at layer N indicates a full word at layer N-1, and so forth. As - * the bitmap becomes progressively more full, checking for existance + * the bitmap becomes progressively more full, checking for existence * becomes cheaper (since fewer layers are walked, making it a lot more * cache friendly) and locating the next free space likewise. * diff --git a/tools/fio_generate_plots b/tools/fio_generate_plots index 51c0643a..a47bfa5c 100755 --- a/tools/fio_generate_plots +++ b/tools/fio_generate_plots @@ -7,7 +7,7 @@ # # The script uses the files generated by FIO to create nice graphs in the # SVG format. This output format is supported by most modern browsers and -# allows resolution independant graphs to be generated. +# allows resolution independent graphs to be generated. # # This script supports GNUPLOT 4.4 and higher. # diff --git a/verify.c b/verify.c index 9e88d615..0d38c0e9 100644 --- a/verify.c +++ b/verify.c @@ -124,7 +124,7 @@ static void hexdump(void *buffer, int len) } /* - * Prepare for seperation of verify_header and checksum header + * Prepare for separation of verify_header and checksum header */ static inline unsigned int __hdr_size(int verify_type) { -- 2.25.1