[f2fs-dev] [PATCH] f2fs: fix recover orphan inodes

2015-02-25 Thread Wanpeng Li
recover_orphan_inodes is used to recover orphan inodes, the meta pages which readahead should be orphan_blkaddr - start_blk instead of orphan_blkaddr. This patch fix it. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- fs/f2fs/checkpoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [f2fs-dev] [PATCH] f2fs: fix recover orphan inodes

2015-02-25 Thread Jaegeuk Kim
Hi Wanpeng, On Wed, Feb 25, 2015 at 12:53:37PM +0800, Wanpeng Li wrote: recover_orphan_inodes is used to recover orphan inodes, the meta pages which readahead should be orphan_blkaddr - start_blk instead of orphan_blkaddr. This patch fix it. Signed-off-by: Wanpeng Li

Re: [f2fs-dev] [PATCH] f2fs: fix recover orphan inodes

2015-02-25 Thread Wanpeng Li
Hi Jaegeuk, On Wed, Feb 25, 2015 at 10:35:23AM -0800, Jaegeuk Kim wrote: Hi Wanpeng, On Wed, Feb 25, 2015 at 12:53:37PM +0800, Wanpeng Li wrote: recover_orphan_inodes is used to recover orphan inodes, the meta pages which readahead should be orphan_blkaddr - start_blk instead of

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks

2015-02-25 Thread Chao Yu
Hi Wanpeng, -Original Message- From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] Sent: Thursday, February 26, 2015 7:57 AM To: Jaegeuk Kim Cc: Wanpeng Li; linux-ker...@vger.kernel.org; linux-f2fs-devel@lists.sourceforge.net Subject: [f2fs-dev] [PATCH 2/2] f2fs: fix the number