linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks
       [not found]   ` <013201d05164$637b7880$2a726980$@samsung.com>
@ 2015-02-27  9:11     ` Wanpeng Li
  0 siblings, 0 replies; only message in thread
From: Wanpeng Li @ 2015-02-27  9:11 UTC (permalink / raw)
  To: Chao Yu
  Cc: 'Jaegeuk Kim', Changman Lee, linux-f2fs-devel,
	linux-fsdevel, linux-kernel, Wanpeng Li

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 <wanpeng.li@linux.intel.com>
>
>Reviewed-by: Chao Yu <chao2.yu@samsung.com>

Thanks for your review. ;-)

Regards,
Wanpeng Li 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-27  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1424908641-76409-1-git-send-email-wanpeng.li@linux.intel.com>
     [not found] ` <1424908641-76409-2-git-send-email-wanpeng.li@linux.intel.com>
     [not found]   ` <013201d05164$637b7880$2a726980$@samsung.com>
2015-02-27  9:11     ` [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks Wanpeng Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).