All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ext4: no need flush workqueue before destroying it
@ 2018-01-09 12:37 piaojun
  2018-01-09 15:07 ` Jan Kara
  0 siblings, 1 reply; 7+ messages in thread
From: piaojun @ 2018-01-09 12:37 UTC (permalink / raw)
  To: Jan Kara; +Cc: adilger.kernel, arnd, linux-ext4

destroy_workqueue() will do flushing work for us.

Signed-off-by: Jun Piao <piaojun@huawei.com>
---
 fs/ext4/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 0556cd0..2f46b0b 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -870,7 +870,6 @@ static void ext4_put_super(struct super_block *sb)
 	ext4_unregister_li_request(sb);
 	ext4_quota_off_umount(sb);

-	flush_workqueue(sbi->rsv_conversion_wq);
 	destroy_workqueue(sbi->rsv_conversion_wq);

 	if (sbi->s_journal) {
-- 

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] ext4: no need flush workqueue before destroying it
@ 2018-01-10  0:19 piaojun
  0 siblings, 0 replies; 7+ messages in thread
From: piaojun @ 2018-01-10  0:19 UTC (permalink / raw)
  To: Jan Kara; +Cc: adilger.kernel, arnd, Ted Tso, linux-ext4

destroy_workqueue() will do flushing work for us.

Signed-off-by: Jun Piao <piaojun@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
---
 fs/ext4/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 0556cd0..2f46b0b 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -870,7 +870,6 @@ static void ext4_put_super(struct super_block *sb)
 	ext4_unregister_li_request(sb);
 	ext4_quota_off_umount(sb);

-	flush_workqueue(sbi->rsv_conversion_wq);
 	destroy_workqueue(sbi->rsv_conversion_wq);

 	if (sbi->s_journal) {
-- 

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] ext4: no need flush workqueue before destroying it
@ 2017-12-01  7:44 piaojun
  2017-12-04  0:43 ` piaojun
  0 siblings, 1 reply; 7+ messages in thread
From: piaojun @ 2017-12-01  7:44 UTC (permalink / raw)
  To: linux-ext4

destroy_workqueue() will do flushing work for us.

Signed-off-by: Jun Piao <piaojun@huawei.com>
---
 fs/ext4/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 0556cd0..2f46b0b 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -870,7 +870,6 @@ static void ext4_put_super(struct super_block *sb)
 	ext4_unregister_li_request(sb);
 	ext4_quota_off_umount(sb);

-	flush_workqueue(sbi->rsv_conversion_wq);
 	destroy_workqueue(sbi->rsv_conversion_wq);

 	if (sbi->s_journal) {
-- 

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

end of thread, other threads:[~2018-01-10  2:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 12:37 [PATCH] ext4: no need flush workqueue before destroying it piaojun
2018-01-09 15:07 ` Jan Kara
2018-01-10  0:16   ` piaojun
2018-01-10  2:42     ` Theodore Ts'o
  -- strict thread matches above, loose matches on Subject: below --
2018-01-10  0:19 piaojun
2017-12-01  7:44 piaojun
2017-12-04  0:43 ` piaojun

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.