Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-10 Thread Gu Zheng
ger.kernel.org; >> linux-fsde...@vger.kernel.org; shu....@samsung.com >> Subject: Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when >> do_checkpoint for better performance >> >> Hi Jin, >> >> On 10/10/2013 04:09 PM, Jin Xu wrote: >> >>

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-10 Thread Jin Xu
.com > Subject: Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when > do_checkpoint for better performance > > Hi Jin, > > On 10/10/2013 04:09 PM, Jin Xu wrote: > > > Hi Gu, > > > > I have a comment below. > > > >> Date: W

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-10 Thread Gu Zheng
lists.sourceforge.net; >> linux-ker...@vger.kernel.org; linux-fsde...@vger.kernel.org; >> shu....@samsung.com >> Subject: Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when >> do_checkpoint for better performance >> >> Hi Yuan, >> On 10/08/2013 07:30 P

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-10 Thread Jin Xu
hu@samsung.com > Subject: Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when > do_checkpoint for better performance > > Hi Yuan, > On 10/08/2013 07:30 PM, Yuan Zhong wrote: > ... > > Signed-off-by: Gu Zheng > --- > fs/f2fs/checkpoint.c | 11 +++

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-08 Thread Yuan Zhong
Hi Gu, > Hi Yuan, > On 10/08/2013 07:30 PM, Yuan Zhong wrote: > >> Hi Gu, >> >>> Hi Yuan, >>> On 10/08/2013 04:30 PM, Yuan Zhong wrote: >> Previously, do_checkpoint() will call congestion_wait() for waiting the pages (previous submitted node/meta/data pages) to be written back. B

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-08 Thread Gu Zheng
Hi Yuan, On 10/08/2013 07:30 PM, Yuan Zhong wrote: > Hi Gu, > >> Hi Yuan, >> On 10/08/2013 04:30 PM, Yuan Zhong wrote: > >>> Previously, do_checkpoint() will call congestion_wait() for waiting the >>> pages (previous submitted node/meta/data pages) to be written back. >>> Because congestion_wai

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-08 Thread Yuan Zhong
Hi Gu, > Hi Yuan, > On 10/08/2013 04:30 PM, Yuan Zhong wrote: > > Previously, do_checkpoint() will call congestion_wait() for waiting the > > pages (previous submitted node/meta/data pages) to be written back. > > Because congestion_wait() will set a regular period (e.g. HZ / 50 ) for > > waiti

Re: [f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-08 Thread Gu Zheng
Hi Yuan, On 10/08/2013 04:30 PM, Yuan Zhong wrote: > Previously, do_checkpoint() will call congestion_wait() for waiting the pages > (previous submitted node/meta/data pages) to be written back. > Because congestion_wait() will set a regular period (e.g. HZ / 50 ) for > waiting. > For this reaso

[f2fs-dev] [PATCH v2] f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-08 Thread Yuan Zhong
Previously, do_checkpoint() will call congestion_wait() for waiting the pages (previous submitted node/meta/data pages) to be written back. Because congestion_wait() will set a regular period (e.g. HZ / 50 ) for waiting. For this reason, there is a situation that after the pages have been written