Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752301AbbB0J3d (ORCPT ); Fri, 27 Feb 2015 04:29:33 -0500 Received: from mga14.intel.com ([192.55.52.115]:3884 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751453AbbB0J3b (ORCPT ); Fri, 27 Feb 2015 04:29:31 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,658,1418112000"; d="scan'208";a="684284652" Date: Fri, 27 Feb 2015 17:11:10 +0800 From: Wanpeng Li To: Chao Yu Cc: "'Jaegeuk Kim'" , Changman Lee , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Wanpeng Li Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks Message-ID: <20150227091110.GA22738@kernel> Reply-To: Wanpeng Li 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <013201d05164$637b7880$2a726980$@samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1243 Lines: 34 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/