Re: [f2fs-dev] [RFC 0/5] Enable f2fs support inline data

2013-06-09 Thread Jaegeuk Kim
Hi, 2013-06-08 (토), 15:25 +0800, Huajun Li: > > Hi Jaegeuk, > Thanks for your suggestion. > On Wed, Jun 5, 2013 at 3:13 PM, Jaegeuk Kim > wrote: > Hi Haicheng, > 2013-06-04 (화), 14:01 +0800, Haicheng Li: > > Hi Jaegeuk & Namjae, > > > > Sure, we'll addres

[f2fs-dev] [PATCH] f2fs: sync dir->i_size with its block allocation

2013-06-09 Thread Jaegeuk Kim
If new dentry block is allocated and its i_size is updated, we should update its inode block together in order to sync i_size and its block allocation. Otherwise, we can loose additional dentry block due to the unconsistent i_size. Errorneous Scenario --- In the recovery routine,

Re: [f2fs-dev] [PATCH 1/4] f2fs: reorganize the f2fs_setattr() function.

2013-06-09 Thread Changman Lee
Hello, Namjae If using ACL, whenever i_mode is changed we should update acl_mode which is written to xattr block, too. And vice versa. Because update_inode() is called at any reason and anytime, so we should sync both the moment xattr is written. We don't hope that only i_mode is written to disk a