Re: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-25 Thread Sahitya Tummala
Hi David, On Tue, Nov 24, 2020 at 09:12:12AM +, David Laight wrote: > From: Chao Yu > > Sent: 24 November 2020 03:12 > > > > On 2020/11/24 1:05, David Laight wrote: > > > From: Sahitya Tummala > > >> Sent: 23 November 2020 05:29 > > >> > > >> Use rwsem to ensure serialization of the callers a

RE: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-24 Thread David Laight
From: Chao Yu > Sent: 24 November 2020 03:12 > > On 2020/11/24 1:05, David Laight wrote: > > From: Sahitya Tummala > >> Sent: 23 November 2020 05:29 > >> > >> Use rwsem to ensure serialization of the callers and to avoid > >> starvation of high priority tasks, when the system is under > >> heavy I

Re: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-23 Thread Chao Yu
On 2020/11/24 1:05, David Laight wrote: From: Sahitya Tummala Sent: 23 November 2020 05:29 Use rwsem to ensure serialization of the callers and to avoid starvation of high priority tasks, when the system is under heavy IO workload. I can't see any read lock requests. So why the change? Hi

Re: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-23 Thread Chao Yu
On 2020/11/23 13:28, Sahitya Tummala wrote: Use rwsem to ensure serialization of the callers and to avoid starvation of high priority tasks, when the system is under heavy IO workload. Signed-off-by: Sahitya Tummala Reviewed-by: Chao Yu Thanks,

RE: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-23 Thread David Laight
From: Sahitya Tummala > Sent: 23 November 2020 05:29 > > Use rwsem to ensure serialization of the callers and to avoid > starvation of high priority tasks, when the system is under > heavy IO workload. I can't see any read lock requests. So why the change? David - Registered Address La