Spelling and grammar fixes
PATCH 1/1 Spelling and grammar fixes
Signed-off-by Ville Skyttä <[email protected]>
--- engines/exec.c | 4 ++-- engines/ime.c | 2 +- engines/libhdfs.c | 2 +- engines/nbd.c | 2 +- engines/rados.c | 2 +- engines/rbd.c | 4 ++-- examples/enospc-pressure.fio | 4 ++-- examples/falloc.fio | 2 +- examples/librpma_apm-server.fio | 2 +- examples/librpma_gpspm-server.fio | 2 +- examples/rand-zones.fio | 2 +- graph.c | 2 +- os/os-android.h | 2 +- os/os-netbsd.h | 2 +- stat.h | 2 +- t/one-core-peak.sh | 2 +- t/readonly.py | 2 +- t/sgunmap-test.py | 2 +- t/steadystate_tests.py | 2 +- t/time-test.c | 2 +- tools/fio_jsonplus_clat2csv | 4 ++-- tools/fiograph/fiograph.py | 2 +- tools/genfio | 2 +- tools/hist/fio-histo-log-pctiles.py | 2 +- tools/plot/fio2gnuplot.manpage | 2 +- 25 files changed, 29 insertions(+), 29 deletions(-)
engines/exec.c +2 -2
@@ -67,8 +67,8 @@ char *str_replace(char *orig, const char *rep, const char *with)/* * Replace a substring by another. * -* Returns the new string if occurences were found -* Returns orig if no occurence is found +* Returns the new string if occurrences were found +* Returns orig if no occurrence is found */ char *result, *insert, *tmp;int len_rep, len_with, len_front, count;
engines/ime.c +1 -1
@@ -83,7 +83,7 @@ struct ime_data { };struct iovec *iovecs;/* array of queued iovecs */ struct io_u **io_us;/* array of queued io_u pointers */ -struct io_u **event_io_us;/* array of the events retieved afer get_events*/ +struct io_u **event_io_us;/* array of the events retrieved after get_events*/ unsigned int queued;/* iovecs/io_us in the queue */ unsigned int events;/* number of committed iovecs/io_us */
engines/libhdfs.c +1 -1
@@ -27,7 +27,7 @@ struct hdfsio_data { };struct hdfsio_options { -void *pad;/* needed because offset can't be 0 for a option defined used offsetof */ +void *pad;/* needed because offset can't be 0 for an option defined used offsetof */ char *host;char *directory;unsigned int port;
engines/nbd.c +1 -1
@@ -52,7 +52,7 @@ static struct fio_option options[] = { }, }; -/* Alocates nbd_data. */ +/* Allocates nbd_data. */ static int nbd_setup (struct thread_data *td) {struct nbd_data *nbd_data;
engines/rados.c +1 -1
@@ -151,7 +151,7 @@ static int _fio_rados_connect(struct thread_data *td)char *client_name =NULL ;/* -* If we specify cluser name, the rados_create2 +* If we specify cluster name, the rados_create2 * will not assume 'client.'. name is considered * as a full type.id namestr */
engines/rbd.c +2 -2
@@ -173,7 +173,7 @@ static int _fio_rbd_connect(struct thread_data *td)char *client_name =NULL ;/* -* If we specify cluser name, the rados_create2 +* If we specify cluster name, the rados_create2 * will not assume 'client.'. name is considered * as a full type.id namestr */
@@ -633,7 +633,7 @@ static int fio_rbd_setup(struct thread_data *td)/* taken from "net" engine. Pretend we deal with files, * even if we do not have any ideas about files. -* The size of the RBD is set instead of a artificial file. +* The size of the RBD is set instead of an artificial file. */ if (!td->files_index) {add_file (td, td->o.filename ? :"rbd" ,0 ,0 );
examples/enospc-pressure.fio +2 -2
@@ -35,8 +35,8 @@ bs=4k rw=randtrim filename=raicer -# Verifier thread continiously write to newly allcated blocks -# and veryfy written content +# Verifier thread continuously writes to newly allcated blocks +# and verifies written content [aio-dio-verifier] create_on_open=1 verify=crc32c-intel
examples/falloc.fio +1 -1
@@ -29,7 +29,7 @@ rw=randtrim numjobs=2 filename=fragmented_file -## Mesure IO performance on fragmented file +## Measure IO performance on fragmented file [sequential aio-dio write] stonewall ioengine=libaio
examples/librpma_apm-server.fio +1 -1
@@ -20,7 +20,7 @@ thread # (https://pmem.io/rpma/documentation/basic-direct-write-to-pmem.html) direct_write_to_pmem=0 -numjobs=1 # number of expected incomming connections +numjobs=1 # number of expected incoming connections size=100MiB # size of workspace for a single connection filename=malloc # device dax or an existing fsdax file or "malloc" for allocation from DRAM # filename=/dev/dax1.0
examples/librpma_gpspm-server.fio +1 -1
@@ -22,7 +22,7 @@ thread direct_write_to_pmem=0 # set to 0 (false) to wait for completion instead of busy-wait polling completion. busy_wait_polling=1 -numjobs=1 # number of expected incomming connections +numjobs=1 # number of expected incoming connections iodepth=2 # number of parallel GPSPM requests size=100MiB # size of workspace for a single connection filename=malloc # device dax or an existing fsdax file or "malloc" for allocation from DRAM
examples/rand-zones.fio +1 -1
@@ -21,6 +21,6 @@ random_distribution=zoned:50/5:30/15:20/ # The above applies to all of reads/writes/trims. If we wanted to do # something differently for writes, let's say 50% for the first 10% # and 50% for the remaining 90%, we could do it by adding a new section -# after a a comma. +# after a comma. # random_distribution=zoned:50/5:30/15:20/,50/10:50/90
graph.c +1 -1
@@ -999,7 +999,7 @@ const char *graph_find_tooltip(struct graph *g, int ix, int iy) ydiff =fabs (yval - y);/* -* zero delta, or within or match critera, break +* zero delta, or within or match criteria, break */ if (ydiff < best_delta) { best_delta = ydiff;
os/os-android.h +1 -1
@@ -66,7 +66,7 @@#ifndef CONFIG_NO_SHM /* -* Bionic doesn't support SysV shared memeory, so implement it using ashmem +* Bionic doesn't support SysV shared memory, so implement it using ashmem */ #include <stdio.h> #include <linux/ashmem.h>
os/os-netbsd.h +1 -1
@@ -13,7 +13,7 @@#include <sys/endian.h> #include <sys/sysctl.h> -/* XXX hack to avoid confilcts between rbtree.h and <sys/rbtree.h> */ +/* XXX hack to avoid conflicts between rbtree.h and <sys/rbtree.h> */ #undef rb_node#undef rb_left#undef rb_right
stat.h +1 -1
@@ -68,7 +68,7 @@ struct group_run_stats {* than one. This method has low accuracy when the value is small. For * example, let the buckets be {[0,99],[100,199],...,[900,999]}, and * the represented value of each bucket be the mean of the range. Then -* a value 0 has an round-off error of 49.5. To improve on this, we +* a value 0 has a round-off error of 49.5. To improve on this, we * use buckets with non-uniform ranges, while bounding the error of * each bucket within a ratio of the sample value. A simple example * would be when error_bound = 0.005, buckets are {
t/one-core-peak.sh +1 -1
@@ -34,7 +34,7 @@ check_binary() { for bin in "$@"; do if [ ! -x ${bin} ]; then which ${bin} >/dev/null - [ $? -eq 0 ] || fatal "${bin} doesn't exists or is not executable" + [ $? -eq 0 ] || fatal "${bin} doesn't exist or is not executable" fi done }
t/readonly.py +1 -1
@@ -6,7 +6,7 @@ # # readonly.py # -# Do some basic tests of the --readonly paramter +# Do some basic tests of the --readonly parameter # # USAGE # python readonly.py [-f fio-executable]
t/sgunmap-test.py +1 -1
@@ -3,7 +3,7 @@ # # sgunmap-test.py # -# Limited functonality test for trim workloads using fio's sg ioengine +# Limited functionality test for trim workloads using fio's sg ioengine # This checks only the three sets of reported iodepths # # !!!WARNING!!!
t/steadystate_tests.py +1 -1
@@ -2,7 +2,7 @@ # # steadystate_tests.py # -# Test option parsing and functonality for fio's steady state detection feature. +# Test option parsing and functionality for fio's steady state detection feature. # # steadystate_tests.py --read file-for-read-testing --write file-for-write-testing ./fio #
t/time-test.c +1 -1
@@ -67,7 +67,7 @@* accuracy because the (ticks * clock_mult) product used for final * fractional chunk * -* iv) 64-bit arithmetic with the clock ticks to nsec conversion occuring in +* iv) 64-bit arithmetic with the clock ticks to nsec conversion occurring in * two stages. This is carried out using locks to update the number of * large time chunks (MAX_CLOCK_SEC_2STAGE) that have elapsed. *
tools/fio_jsonplus_clat2csv +2 -2
@@ -135,7 +135,7 @@ def more_bins(indices, bins): Returns: True if the indices do not yet point to the end of each bin in bins. - False if the indices point beyond their repsective bins. + False if the indices point beyond their respective bins. """ for key, value in six.iteritems(indices):
@@ -160,7 +160,7 @@ def debug_print(debug, *args): def get_csvfile(dest, jobnum): """Generate CSV filename from command-line arguments and job numbers. - Paramaters: + Parameters: dest file specification for CSV filename. jobnum job number.
tools/fiograph/fiograph.py +1 -1
@@ -218,7 +218,7 @@ def fio_to_graphviz(filename, format): # The first job will be a new execution group new_execution_group = True - # Let's interate on all sections to create links between them + # Let's iterate on all sections to create links between them for section_name in fio_file.sections(): # The current section section = fio_file[section_name]
tools/genfio +1 -1
@@ -48,7 +48,7 @@ show_help() { one test after another then one disk after another Disabled by default -p : Run parallel test - one test after anoter but all disks at the same time + one test after another but all disks at the same time Enabled by default -D iodepth : Run with the specified iodepth Default is $IODEPTH
tools/hist/fio-histo-log-pctiles.py +1 -1
@@ -748,7 +748,7 @@ if unittest2_imported: def test_e2_get_pctiles_highest_pct(self): fio_v3_bucket_count = 29 * 64 with open(self.fn, 'w') as f: - # make a empty fio v3 histogram + # make an empty fio v3 histogram buckets = [ 0 for j in range(0, fio_v3_bucket_count) ] # add one I/O request to last bucket buckets[-1] = 1
tools/plot/fio2gnuplot.manpage +1 -1
@@ -20,7 +20,7 @@ DESCRIPTION The resulting graph helps at understanding trends. Grouped 2D graph - All files are plotted in a single image to ease the comparaison. The same rendering options as per the individual 2D graph are used : + All files are plotted in a single image to ease the comparison. The same rendering options as per the individual 2D graph are used : - raw - smooth - trend
Signature · 1 line
2.25.1