Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-10 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, March 10, 2014 1:38 PM To: Chao Yu Cc: 'Gu Zheng'; 'linux-kernel'; 'f2fs' Subject: RE: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly Hi, 2014-03-10 (월), 13:13 +0800

Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Jaegeuk Kim
Hi Gu, 2014-03-07 (금), 18:43 +0800, Gu Zheng: Previously, we ra_sum_pages to pre-read contiguous pages as more as possible, and if we fail to alloc more pages, an ENOMEM error will be reported upstream, even though we have alloced some pages yet. In fact, we can use the available pages to do

Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Chao Yu
Hi Gu, Kim: One more comment. -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, March 10, 2014 12:46 PM To: Gu Zheng Cc: linux-kernel; f2fs Subject: Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly Hi Gu, 2014-03-07

Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Jaegeuk Kim
Hi, 2014-03-10 (월), 13:13 +0800, Chao Yu: Hi Gu, Kim: One more comment. -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, March 10, 2014 12:46 PM To: Gu Zheng Cc: linux-kernel; f2fs Subject: Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize

Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Gu Zheng
Hi Kim, On 03/10/2014 12:45 PM, Jaegeuk Kim wrote: Hi Gu, 2014-03-07 (금), 18:43 +0800, Gu Zheng: Previously, we ra_sum_pages to pre-read contiguous pages as more as possible, and if we fail to alloc more pages, an ENOMEM error will be reported upstream, even though we have alloced some

[f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-07 Thread Gu Zheng
Previously, we ra_sum_pages to pre-read contiguous pages as more as possible, and if we fail to alloc more pages, an ENOMEM error will be reported upstream, even though we have alloced some pages yet. In fact, we can use the available pages to do the job partly, and continue the rest in the