Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-05 Thread Chao Yu
On 2022/1/5 23:01, Greg KH wrote: On Tue, Jan 04, 2022 at 11:48:25PM +0800, Chao Yu wrote: On 2022/1/4 23:17, Greg KH wrote: On Tue, Jan 04, 2022 at 11:05:36PM +0800, Chao Yu wrote: On 2022/1/4 21:18, Greg KH wrote: On Tue, Jan 04, 2022 at 09:05:13PM +0800, Chao Yu wrote: commit a5c0042200b2

Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-05 Thread Greg KH
On Tue, Jan 04, 2022 at 11:48:25PM +0800, Chao Yu wrote: > On 2022/1/4 23:17, Greg KH wrote: > > On Tue, Jan 04, 2022 at 11:05:36PM +0800, Chao Yu wrote: > > > On 2022/1/4 21:18, Greg KH wrote: > > > > On Tue, Jan 04, 2022 at 09:05:13PM +0800, Chao Yu wrote: > > > > > commit a5c0042200b28fff3bde6fa

Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-04 Thread Chao Yu
On 2022/1/4 23:17, Greg KH wrote: On Tue, Jan 04, 2022 at 11:05:36PM +0800, Chao Yu wrote: On 2022/1/4 21:18, Greg KH wrote: On Tue, Jan 04, 2022 at 09:05:13PM +0800, Chao Yu wrote: commit a5c0042200b28fff3bde6fa128ddeaef97990f8d upstream. As Yi Zhuang reported in bugzilla: https://bugzilla.

Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-04 Thread Greg KH
On Tue, Jan 04, 2022 at 11:05:36PM +0800, Chao Yu wrote: > On 2022/1/4 21:18, Greg KH wrote: > > On Tue, Jan 04, 2022 at 09:05:13PM +0800, Chao Yu wrote: > > > commit a5c0042200b28fff3bde6fa128ddeaef97990f8d upstream. > > > > > > As Yi Zhuang reported in bugzilla: > > > > > > https://bugzilla.ker

Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-04 Thread Chao Yu
On 2022/1/4 21:18, Greg KH wrote: On Tue, Jan 04, 2022 at 09:05:13PM +0800, Chao Yu wrote: commit a5c0042200b28fff3bde6fa128ddeaef97990f8d upstream. As Yi Zhuang reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=214299 There is potential deadlock during quota data flush as bel

Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-04 Thread Greg KH
On Tue, Jan 04, 2022 at 09:05:13PM +0800, Chao Yu wrote: > commit a5c0042200b28fff3bde6fa128ddeaef97990f8d upstream. > > As Yi Zhuang reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=214299 > > There is potential deadlock during quota data flush as below: > > Thread A:

[f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2022-01-04 Thread Chao Yu
commit a5c0042200b28fff3bde6fa128ddeaef97990f8d upstream. As Yi Zhuang reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=214299 There is potential deadlock during quota data flush as below: Thread A: Thread B: f2fs_dquot_acquire down_read(&sbi->quota_sem)

Re: [f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2021-12-30 Thread Shachar Raindel
Somewhat late to the party (i.e. 3 months late), happy mailbox cleanup holidays! On Thu, Sep 2, 2021 at 8:04 PM Chao Yu wrote: > > As Yi Zhuang reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=214299 > Bug report is for kernel 5.3. When I reported very similar deadlock in goo

[f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2021-09-02 Thread Chao Yu
As Yi Zhuang reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=214299 There is potential deadlock during quota data flush as below: Thread A: Thread B: f2fs_dquot_acquire down_read(&sbi->quota_sem) f2fs_write_checkpoint

[f2fs-dev] [PATCH] f2fs: quota: fix potential deadlock

2021-07-19 Thread Chao Yu
xfstest generic/587 reports a deadlock issue as below: == WARNING: possible circular locking dependency detected 5.14.0-rc1 #69 Not tainted -- repquota/8606 is trying to acquire lock: 888022