Hi Chao,
On Thu, Mar 12, 2015 at 12:17:29PM +0800, Chao Yu wrote:
>
>We always remain space in inode page for inline xattr data,
>so it's better to define our max size of fast symlink as below:
>
>#define MAX_FAST_SYMLINK_SIZE (MAX_INLINE_DATA + 1)
>
Thanks for your review, I just handle all your
We need to check for fallocate() rather than just linux/falloc.h +
FALLOC_FL_PUNCH_HOLE since in uClibc we've got both but still not
fallocate() itself since it's only implemented in newer unreleased
versions.
Signed-off-by: Gustavo Zacarias
---
configure.ac | 1 +
mkfs/f2fs_format_u
Hi Wanpeng,
> -Original Message-
> From: Wanpeng Li [mailto:wanpeng...@linux.intel.com]
> Sent: Thursday, March 12, 2015 2:42 PM
> To: Chao Yu
> Cc: 'Wanpeng Li'; 'Jaegeuk Kim'; 'Changman Lee';
> linux-f2fs-devel@lists.sourceforge.net;
> linux-fsde...@vger.kernel.org; linux-ker...@vger.ke
In __allocate_data_blocks, we should check current blkaddr which is located at
ofs_in_node of dnode page instead of checking first blkaddr all the time.
Otherwise we can only allocate one blkaddr in each dnode page. Fix it.
Signed-off-by: Chao Yu
---
fs/f2fs/data.c | 5 -
1 file changed, 4 i
Hi Chao,
On Thu, Mar 12, 2015 at 05:02:47PM +0800, Chao Yu wrote:
>Hi Wanpeng,
>
>> -Original Message-
>> From: Wanpeng Li [mailto:wanpeng...@linux.intel.com]
>> Sent: Thursday, March 12, 2015 2:42 PM
>> To: Chao Yu
>> Cc: 'Wanpeng Li'; 'Jaegeuk Kim'; 'Changman Lee';
>> linux-f2fs-devel@li
This patch introduces the improvement fast symlinks to allow storage of
the target path within inode, thus symlinks with short target paths are
more accessed quickly. It will fall back to using the original slow
symlink if the target path exceeds the available inode space.
Signed-off-by: Wanpeng L
Hi Wanpeng,
> -Original Message-
> From: Wanpeng Li [mailto:wanpeng...@linux.intel.com]
> Sent: Thursday, March 12, 2015 5:12 PM
> To: Jaegeuk Kim
> Cc: Changman Lee; Chao Yu; linux-f2fs-devel@lists.sourceforge.net;
> linux-fsde...@vger.kernel.org; linux-ker...@vger.kernel.org; Wanpeng Li
This patch introduces the improvement fast symlinks to allow storage of
the target path within inode, thus symlinks with short target paths are
more accessed quickly. It will fall back to using the original slow
symlink if the target path exceeds the available inode space.
Signed-off-by: Wanpeng L