Re: [f2fs-dev] [PATCH] f2fs: Fix deadlock under storage almost full/dirty condition

2019-11-10 Thread Chao Yu
Hi Sahitya, On 2019/11/11 14:44, Sahitya Tummala wrote: > Hi Chao, > > On Mon, Nov 11, 2019 at 02:28:47PM +0800, Chao Yu wrote: >> Hi Sahitya, >> >> On 2019/11/11 11:40, Sahitya Tummala wrote: >>> Hi Chao, >>> >>> On Mon, Nov 11, 2019 at 10:51:10AM +0800, Chao Yu wrote: On 2019/11/8 19:03,

Re: [f2fs-dev] [PATCH] f2fs: Fix deadlock under storage almost full/dirty condition

2019-11-10 Thread Sahitya Tummala
Hi Chao, On Mon, Nov 11, 2019 at 02:28:47PM +0800, Chao Yu wrote: > Hi Sahitya, > > On 2019/11/11 11:40, Sahitya Tummala wrote: > > Hi Chao, > > > > On Mon, Nov 11, 2019 at 10:51:10AM +0800, Chao Yu wrote: > >> On 2019/11/8 19:03, Sahitya Tummala wrote: > >>> There could be a potential deadlock

Re: [f2fs-dev] [PATCH] f2fs: Fix deadlock under storage almost full/dirty condition

2019-11-10 Thread Chao Yu
Hi Sahitya, On 2019/11/11 11:40, Sahitya Tummala wrote: > Hi Chao, > > On Mon, Nov 11, 2019 at 10:51:10AM +0800, Chao Yu wrote: >> On 2019/11/8 19:03, Sahitya Tummala wrote: >>> There could be a potential deadlock when the storage capacity >>> is almost full and theren't enough free segments

Re: [f2fs-dev] [PATCH] f2fs: Fix deadlock under storage almost full/dirty condition

2019-11-10 Thread Sahitya Tummala
Hi Chao, On Mon, Nov 11, 2019 at 10:51:10AM +0800, Chao Yu wrote: > On 2019/11/8 19:03, Sahitya Tummala wrote: > > There could be a potential deadlock when the storage capacity > > is almost full and theren't enough free segments available, due > > to which FG_GC is needed in the atomic commit

Re: [f2fs-dev] [PATCH] f2fs: Fix deadlock under storage almost full/dirty condition

2019-11-10 Thread Chao Yu
On 2019/11/8 19:03, Sahitya Tummala wrote: > There could be a potential deadlock when the storage capacity > is almost full and theren't enough free segments available, due > to which FG_GC is needed in the atomic commit ioctl as shown in > the below callstack - > > schedule_timeout >

[f2fs-dev] [PATCH] f2fs: Fix deadlock under storage almost full/dirty condition

2019-11-08 Thread Sahitya Tummala
There could be a potential deadlock when the storage capacity is almost full and theren't enough free segments available, due to which FG_GC is needed in the atomic commit ioctl as shown in the below callstack - schedule_timeout io_schedule_timeout congestion_wait f2fs_drop_inmem_pages_all