module/raid: fix typos in comments

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: Iafacd934a04c0f162f38b80a03e278c97ff4d5d3
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/482601
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
paul luse 2020-01-23 18:10:42 +00:00 committed by Tomasz Zawadzki
parent 06fc4cadbe
commit 17f7cf9b29
3 changed files with 6 additions and 6 deletions

View File

@ -1205,7 +1205,7 @@ raid_bdev_create(struct raid_bdev_config *raid_cfg)
} }
/* strip_size_kb is from the rpc param. strip_size is in blocks and used /* strip_size_kb is from the rpc param. strip_size is in blocks and used
* intnerally and set later. * internally and set later.
*/ */
raid_bdev->strip_size = 0; raid_bdev->strip_size = 0;
raid_bdev->strip_size_kb = raid_cfg->strip_size; raid_bdev->strip_size_kb = raid_cfg->strip_size;
@ -1407,7 +1407,7 @@ raid_bdev_deconfigure(struct raid_bdev *raid_bdev, raid_bdev_destruct_cb cb_fn,
* claimed the base bdev. * claimed the base bdev.
* params: * params:
* base_bdev - pointer to base bdev pointer * base_bdev - pointer to base bdev pointer
* _raid_bdev - Referenct to pointer to raid bdev * _raid_bdev - Reference to pointer to raid bdev
* _base_bdev_slot - Reference to the slot of the base bdev. * _base_bdev_slot - Reference to the slot of the base bdev.
* returns: * returns:
* true - if the raid bdev is found. * true - if the raid bdev is found.

View File

@ -171,7 +171,7 @@ struct raid_base_bdev_config {
}; };
/* /*
* raid_bdev_config contains the raid bdev config related information after * raid_bdev_config contains the raid bdev config related information after
* parsing the config file * parsing the config file
*/ */
struct raid_bdev_config { struct raid_bdev_config {

View File

@ -83,7 +83,7 @@ static const struct spdk_json_object_decoder rpc_bdev_raid_get_bdevs_decoders[]
* registered with bdev as of now and it has encountered any error or user has * registered with bdev as of now and it has encountered any error or user has
* requested to offline the raid. * requested to offline the raid.
* params: * params:
* requuest - pointer to json rpc request * request - pointer to json rpc request
* params - pointer to request parameters * params - pointer to request parameters
* returns: * returns:
* none * none
@ -242,7 +242,7 @@ static const struct spdk_json_object_decoder rpc_bdev_raid_create_decoders[] = {
* spdk_rpc_bdev_raid_create function is the RPC for creating RAID bdevs. It takes * spdk_rpc_bdev_raid_create function is the RPC for creating RAID bdevs. It takes
* input as raid bdev name, raid level, strip size in KB and list of base bdev names. * input as raid bdev name, raid level, strip size in KB and list of base bdev names.
* params: * params:
* requuest - pointer to json rpc request * request - pointer to json rpc request
* params - pointer to request parameters * params - pointer to request parameters
* returns: * returns:
* none * none
@ -404,7 +404,7 @@ exit:
* name as input and delete that raid bdev including freeing the base bdev * name as input and delete that raid bdev including freeing the base bdev
* resources. * resources.
* params: * params:
* requuest - pointer to json rpc request * request - pointer to json rpc request
* params - pointer to request parameters * params - pointer to request parameters
* returns: * returns:
* none * none