diff mbox series

[7/8] blk-mq: Fix spelling in a source code comment

Message ID 20190531000053.64053-8-bvanassche@acm.org (mailing list archive)
State New, archived
Headers show
Series Improve block layer function documentation | expand

Commit Message

Bart Van Assche May 31, 2019, midnight UTC
Change one occurrence of 'performace' into 'performance'.

Cc: Max Gurtovoy <maxg@mellanox.com>
Fixes: fe631457ff3e ("blk-mq: map all HWQ also in hyperthreaded system") # v4.13.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 block/blk-mq-cpumap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Chaitanya Kulkarni May 31, 2019, 2:03 a.m. UTC | #1
Looks good.

Reviewed-by: Chaitanya Kulkarni <chiatanya.kulkarni@wdc.com>

On 5/30/19 5:01 PM, Bart Van Assche wrote:
> Change one occurrence of 'performace' into 'performance'.
> 
> Cc: Max Gurtovoy <maxg@mellanox.com>
> Fixes: fe631457ff3e ("blk-mq: map all HWQ also in hyperthreaded system") # v4.13.
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
>   block/blk-mq-cpumap.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c
> index 48bebf00a5f3..0afa4dc48365 100644
> --- a/block/blk-mq-cpumap.c
> +++ b/block/blk-mq-cpumap.c
> @@ -42,8 +42,8 @@ int blk_mq_map_queues(struct blk_mq_queue_map *qmap)
>   		/*
>   		 * First do sequential mapping between CPUs and queues.
>   		 * In case we still have CPUs to map, and we have some number of
> -		 * threads per cores then map sibling threads to the same queue for
> -		 * performace optimizations.
> +		 * threads per cores then map sibling threads to the same queue
> +		 * for performance optimizations.
>   		 */
>   		if (cpu < nr_queues) {
>   			map[cpu] = cpu_to_queue_index(qmap, nr_queues, cpu);
>
diff mbox series

Patch

diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c
index 48bebf00a5f3..0afa4dc48365 100644
--- a/block/blk-mq-cpumap.c
+++ b/block/blk-mq-cpumap.c
@@ -42,8 +42,8 @@  int blk_mq_map_queues(struct blk_mq_queue_map *qmap)
 		/*
 		 * First do sequential mapping between CPUs and queues.
 		 * In case we still have CPUs to map, and we have some number of
-		 * threads per cores then map sibling threads to the same queue for
-		 * performace optimizations.
+		 * threads per cores then map sibling threads to the same queue
+		 * for performance optimizations.
 		 */
 		if (cpu < nr_queues) {
 			map[cpu] = cpu_to_queue_index(qmap, nr_queues, cpu);