All of lore.kernel.org
 help / color / mirror / Atom feed
From: piaojun <piaojun@huawei.com>
To: Jan Kara <jack@suse.cz>
Cc: <adilger.kernel@dilger.ca>, <arnd@arndb.de>,
	<linux-ext4@vger.kernel.org>, Ted Tso <tytso@mit.edu>
Subject: Re: [PATCH] ext4: no need flush workqueue before destroying it
Date: Wed, 10 Jan 2018 08:16:47 +0800	[thread overview]
Message-ID: <5A555B6F.7050406@huawei.com> (raw)
In-Reply-To: <20180109150712.i5tm3nywi3w4w4rk@quack2.suse.cz>

Hi Jan,

Thanks for reviewing, and I will resend this patch again.

thanks,
Jun

On 2018/1/9 23:07, Jan Kara wrote:
> On Tue 09-01-18 20:37:54, piaojun wrote:
>> destroy_workqueue() will do flushing work for us.
>>
>> Signed-off-by: Jun Piao <piaojun@huawei.com>
> 
> Looks good. You can add:
> 
> Reviewed-by: Jan Kara <jack@suse.cz>
> 
> Adding Ted to CC as a maintainer...
> 
> 								Honza
> 
>> ---
>>  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) {
>> -- 

  reply	other threads:[~2018-01-10  0:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A555B6F.7050406@huawei.com \
    --to=piaojun@huawei.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=arnd@arndb.de \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.