All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] md/raid5: Fix spelling mistakes in comments
@ 2022-08-17  9:21 XU pengfei
  2022-08-23 17:44 ` Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: XU pengfei @ 2022-08-17  9:21 UTC (permalink / raw)
  To: song; +Cc: linux-raid, linux-kernel, XU pengfei

Fix spelling of 'waitting' in comments.

Signed-off-by: XU pengfei <xupengfei@nfschina.com>
---
 drivers/md/raid5-cache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c
index f4e1cc1ece43..058d82e7fa13 100644
--- a/drivers/md/raid5-cache.c
+++ b/drivers/md/raid5-cache.c
@@ -1327,9 +1327,9 @@ static void r5l_write_super_and_discard_space(struct r5l_log *log,
 	 * superblock is updated to new log tail. Updating superblock (either
 	 * directly call md_update_sb() or depend on md thread) must hold
 	 * reconfig mutex. On the other hand, raid5_quiesce is called with
-	 * reconfig_mutex hold. The first step of raid5_quiesce() is waitting
-	 * for all IO finish, hence waitting for reclaim thread, while reclaim
-	 * thread is calling this function and waitting for reconfig mutex. So
+	 * reconfig_mutex hold. The first step of raid5_quiesce() is waiting
+	 * for all IO finish, hence waiting for reclaim thread, while reclaim
+	 * thread is calling this function and waiting for reconfig mutex. So
 	 * there is a deadlock. We workaround this issue with a trylock.
 	 * FIXME: we could miss discard if we can't take reconfig mutex
 	 */
-- 
2.18.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] md/raid5: Fix spelling mistakes in comments
  2022-08-17  9:21 [PATCH 1/1] md/raid5: Fix spelling mistakes in comments XU pengfei
@ 2022-08-23 17:44 ` Song Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Song Liu @ 2022-08-23 17:44 UTC (permalink / raw)
  To: XU pengfei; +Cc: linux-raid, open list

On Wed, Aug 17, 2022 at 2:21 AM XU pengfei <xupengfei@nfschina.com> wrote:
>
> Fix spelling of 'waitting' in comments.
>
> Signed-off-by: XU pengfei <xupengfei@nfschina.com>

Applied to md-next.

Thanks,
Song

> ---
>  drivers/md/raid5-cache.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c
> index f4e1cc1ece43..058d82e7fa13 100644
> --- a/drivers/md/raid5-cache.c
> +++ b/drivers/md/raid5-cache.c
> @@ -1327,9 +1327,9 @@ static void r5l_write_super_and_discard_space(struct r5l_log *log,
>          * superblock is updated to new log tail. Updating superblock (either
>          * directly call md_update_sb() or depend on md thread) must hold
>          * reconfig mutex. On the other hand, raid5_quiesce is called with
> -        * reconfig_mutex hold. The first step of raid5_quiesce() is waitting
> -        * for all IO finish, hence waitting for reclaim thread, while reclaim
> -        * thread is calling this function and waitting for reconfig mutex. So
> +        * reconfig_mutex hold. The first step of raid5_quiesce() is waiting
> +        * for all IO finish, hence waiting for reclaim thread, while reclaim
> +        * thread is calling this function and waiting for reconfig mutex. So
>          * there is a deadlock. We workaround this issue with a trylock.
>          * FIXME: we could miss discard if we can't take reconfig mutex
>          */
> --
> 2.18.2
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-23 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17  9:21 [PATCH 1/1] md/raid5: Fix spelling mistakes in comments XU pengfei
2022-08-23 17:44 ` Song Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.