From fd50b50738324bbecfae2d2685522774b970669a Mon Sep 17 00:00:00 2001 From: Darek Stojaczyk Date: Mon, 27 May 2019 06:23:17 +0200 Subject: [PATCH] doc/blob: correct some typos Change-Id: I0f64ff359c9ddb3e84c5b11c49c85da9be26acdf Signed-off-by: Darek Stojaczyk Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455756 Tested-by: SPDK CI Jenkins Reviewed-by: Changpeng Liu Reviewed-by: Maciej Szwed Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris --- doc/blob.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/blob.md b/doc/blob.md index e6db9d3da..f16669546 100644 --- a/doc/blob.md +++ b/doc/blob.md @@ -269,7 +269,7 @@ There are multiple examples of Blobstore usage in the [repo](https://github.com/ * **Hello World**: Actually named `hello_blob.c` this is a very basic example of a single threaded application that does nothing more than demonstrate the very basic API. Although Blobstore is optimized for NVMe, this example uses a RAM disk (malloc) back-end so that it can be executed easily in any development environment. The malloc back-end -is a `bdev` module thus this example uses not on the SPDK Framework but the `bdev` layer as well. +is a `bdev` module thus this example uses not only the SPDK Framework but the `bdev` layer as well. * **Hello NVME Blob**: `hello_nvme_blob.c` is the non-bdev version of `hello_blob.c` and simply shows how an application can directly integrate Blobstore with the SPDK NVMe driver without using the `bdev` layer at all. @@ -330,7 +330,7 @@ a serial fashion or in parallel, respectively. Both are defined using the follow struct spdk_bs_request_set; ~~~ -These requests sets are basically bookkeeping mechanisms to help Blobstore efficiently deal will related groups +These requests sets are basically bookkeeping mechanisms to help Blobstore efficiently deal with related groups of IO. They are an internal construct only and are pre-allocated on a per channel basis (channels were discussed earlier). They are removed from a channel associated linked list when the set (sequence or batch) is started and then returned to the list when completed. @@ -344,7 +344,7 @@ the public API is `blob.h`. ~~~{.sh} struct spdk_blob ~~~ -This is an in-memory data structure that contains key elements like the blob identifier, it's current state and two +This is an in-memory data structure that contains key elements like the blob identifier, its current state and two copies of the mutable metadata for the blob; one copy is the current metadata and the other is the last copy written to disk.