From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanpeng Li Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks Date: Fri, 27 Feb 2015 17:11:10 +0800 Message-ID: <20150227091110.GA22738@kernel> References: <1424908641-76409-1-git-send-email-wanpeng.li@linux.intel.com> <1424908641-76409-2-git-send-email-wanpeng.li@linux.intel.com> <013201d05164$637b7880$2a726980$@samsung.com> Reply-To: Wanpeng Li Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 'Jaegeuk Kim' , Changman Lee , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Wanpeng Li To: Chao Yu Return-path: Content-Disposition: inline In-Reply-To: <013201d05164$637b7880$2a726980$@samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi Chao, On Thu, Feb 26, 2015 at 09:33:55AM +0800, Chao Yu wrote: >Hi Wanpeng, > >> -----Original Message----- >> From: Wanpeng Li [mailto:wanpeng.li@linux.intel.com] >> Sent: Thursday, February 26, 2015 7:57 AM >> To: Jaegeuk Kim >> Cc: Wanpeng Li; linux-kernel@vger.kernel.org; linux-f2fs-devel@lists.sourceforge.net >> Subject: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks >> >> cp_pack_start_sum is calculated in do_checkpoint and is equal to >> cpu_to_le32(1 + cp_payload_blks + orphan_blocks). The number of >> orphan inode blocks is take advantage of by recover_orphan_inodes >> to readahead meta pages and recovery inodes. However, current codes >> forget to reduce the number of cp payload blocks when calculate >> the number of orphan inode blocks. This patch fix it. > >Nice work! looks good to me. :) > >> >> Signed-off-by: Wanpeng Li > >Reviewed-by: Chao Yu Thanks for your review. ;-) Regards, Wanpeng Li