Re: [PATCH v2] f2fs: fix max orphan inodes calculation

2015-03-08 Thread Changman Lee
--> 8 -- >From ce2462523dd5940b59f770c09a50d4babff5fcdb Mon Sep 17 00:00:00 2001 From: Changman Lee Date: Mon, 9 Mar 2015 08:07:04 +0900 Subject: [PATCH] f2fs: cleanup statement about max orphan inodes calc Through each macro, we can read the meaning easily. Signed-off-by: Changman Lee --- f

Re: [PATCH v2] f2fs: fix max orphan inodes calculation

2015-03-05 Thread Wanpeng Li
Cc: Jaegeuk Kim; Chao Yu; linux-fsde...@vger.kernel.org; >> linux-kernel@vger.kernel.org >> Subject: Re: [PATCH v2] f2fs: fix max orphan inodes calculation >> >> On Fri, Feb 27, 2015 at 05:38:13PM +0800, Wanpeng Li wrote: >> > cp_payload is introduced for sit b

RE: [PATCH v2] f2fs: fix max orphan inodes calculation

2015-03-05 Thread Chao Yu
ubject: Re: [PATCH v2] f2fs: fix max orphan inodes calculation > > On Fri, Feb 27, 2015 at 05:38:13PM +0800, Wanpeng Li wrote: > > cp_payload is introduced for sit bitmap to support large volume, and it is > > just after the block of f2fs_checkpoint + nat bitmap, so the first s

Re: [PATCH v2] f2fs: fix max orphan inodes calculation

2015-03-02 Thread Changman Lee
On Fri, Feb 27, 2015 at 05:38:13PM +0800, Wanpeng Li wrote: > cp_payload is introduced for sit bitmap to support large volume, and it is > just after the block of f2fs_checkpoint + nat bitmap, so the first segment > should include F2FS_CP_PACKS + NR_CURSEG_TYPE + cp_payload + orphan blocks. > Howev

RE: [PATCH v2] f2fs: fix max orphan inodes calculation

2015-02-28 Thread Chao Yu
npeng Li > Subject: [PATCH v2] f2fs: fix max orphan inodes calculation > > cp_payload is introduced for sit bitmap to support large volume, and it is > just after the block of f2fs_checkpoint + nat bitmap, so the first segment > should include F2FS_CP_PACKS + NR_CURSEG_TYPE + cp_p

[PATCH v2] f2fs: fix max orphan inodes calculation

2015-02-27 Thread Wanpeng Li
cp_payload is introduced for sit bitmap to support large volume, and it is just after the block of f2fs_checkpoint + nat bitmap, so the first segment should include F2FS_CP_PACKS + NR_CURSEG_TYPE + cp_payload + orphan blocks. However, current max orphan inodes calculation don't consider cp_payload,