Commit b7876f9a authored by Josh Soref's avatar Josh Soref Committed by Tomasz Zawadzki
Browse files

spelling: examples



Part of #2256

* asymmetric
* bookkeeping
* current
* errors
* execution
* initialize
* initing
* management
* occurred
* operations
* prepping
* purposes
* similar
* syncing
* terminate

Change-Id: I7336d98c1327020ab83c9e01e6bf1e4f5f7b5d7d
Signed-off-by: default avatarJosh Soref <jsoref@gmail.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10403


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent ba1e1368
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -512,7 +512,7 @@ _build_batch(struct worker_thread *worker, struct ap_task *task)
	/* Prep the command re-using the last completed command's task */
	rc = _batch_prep_cmd(worker, task, worker_batch);
	if (rc) {
		fprintf(stderr, "error preping command for batch\n");
		fprintf(stderr, "error prepping command for batch\n");
		goto error;
	}

@@ -918,7 +918,7 @@ _init_thread(void *arg1)

				rc = _batch_prep_cmd(worker, task, worker_batch);
				if (rc) {
					fprintf(stderr, "error preping command\n");
					fprintf(stderr, "error prepping command\n");
					goto error;
				}
			}
+2 −2
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@

/*
 * The following is not a public header file, but the CLI does expose
 * some internals of blobstore for dev/debug puposes so we
 * some internals of blobstore for dev/debug purposes so we
 * include it here.
 */
#include "../lib/blob/blobstore.h"
@@ -277,7 +277,7 @@ close_cb(void *arg1, int bserrno)
}

/*
 * Callback function for sync'ing metadata.
 * Callback function for syncing metadata.
 */
static void
sync_cb(void *arg1, int bserrno)
+3 −3
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ blob_write(struct hello_context_t *hello_context)
}

/*
 * Callback function for sync'ing metadata.
 * Callback function for syncing metadata.
 */
static void
sync_complete(void *arg1, int bserrno)
@@ -372,7 +372,7 @@ bs_init_complete(void *cb_arg, struct spdk_blob_store *bs,

	SPDK_NOTICELOG("entry\n");
	if (bserrno) {
		unload_bs(hello_context, "Error init'ing the blobstore",
		unload_bs(hello_context, "Error initing the blobstore",
			  bserrno);
		return;
	}
@@ -468,7 +468,7 @@ main(int argc, char **argv)
	 * can pass in an spdk_bs_opts if we want something other than
	 * the defaults (cluster size, etc), but here we'll just take the
	 * defaults.  We'll also pass in a struct that we'll use for
	 * callbacks so we've got efficient bookeeping of what we're
	 * callbacks so we've got efficient bookkeeping of what we're
	 * creating. This is an async operation and bs_init_complete()
	 * will be called when it is complete.
	 */
+1 −1
Original line number Diff line number Diff line
@@ -824,7 +824,7 @@ init_idxd_chan_entry(struct idxd_chan_entry *t, struct spdk_idxd_device *idxd)
	local_qd = spdk_idxd_chan_get_max_operations(t->ch);
	if (g_queue_depth > local_qd) {
		fprintf(stdout,
			"g_queue_depth is changed from %d to %d because of idxd (%p)'s max operatons per chan=%d\n",
			"g_queue_depth is changed from %d to %d because of idxd (%p)'s max operations per chan=%d\n",
			g_queue_depth, local_qd, idxd, local_qd);
		g_queue_depth = local_qd;
	}
+1 −1
Original line number Diff line number Diff line
@@ -1114,7 +1114,7 @@ cleanup:
	unregister_controllers();

	if (rc != 0) {
		fprintf(stderr, "%s: errors occured\n", argv[0]);
		fprintf(stderr, "%s: errors occurred\n", argv[0]);
	}

	return rc;
Loading