Searched hist:"9 e09fc855dd6f6ed510b3db7f3c3c1dd73631ac7" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | inline.c | diff 9e09fc855dd6f6ed510b3db7f3c3c1dd73631ac7 Thu Dec 26 21:28:59 CST 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: refactor f2fs_convert_inline_data
Change log from v1: o handle NULL pointer of grab_cache_page_write_begin() pointed by Chao Yu.
This patch refactors f2fs_convert_inline_data to check a couple of conditions internally for deciding whether it needs to convert inline_data or not.
So, the new f2fs_convert_inline_data initially checks: 1) f2fs_has_inline_data(), and 2) the data size to be changed.
If the inode has inline_data but the size to fill is less than MAX_INLINE_DATA, then we don't need to convert the inline_data with data allocation.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | data.c | diff 9e09fc855dd6f6ed510b3db7f3c3c1dd73631ac7 Thu Dec 26 21:28:59 CST 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: refactor f2fs_convert_inline_data
Change log from v1: o handle NULL pointer of grab_cache_page_write_begin() pointed by Chao Yu.
This patch refactors f2fs_convert_inline_data to check a couple of conditions internally for deciding whether it needs to convert inline_data or not.
So, the new f2fs_convert_inline_data initially checks: 1) f2fs_has_inline_data(), and 2) the data size to be changed.
If the inode has inline_data but the size to fill is less than MAX_INLINE_DATA, then we don't need to convert the inline_data with data allocation.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | file.c | diff 9e09fc855dd6f6ed510b3db7f3c3c1dd73631ac7 Thu Dec 26 21:28:59 CST 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: refactor f2fs_convert_inline_data
Change log from v1: o handle NULL pointer of grab_cache_page_write_begin() pointed by Chao Yu.
This patch refactors f2fs_convert_inline_data to check a couple of conditions internally for deciding whether it needs to convert inline_data or not.
So, the new f2fs_convert_inline_data initially checks: 1) f2fs_has_inline_data(), and 2) the data size to be changed.
If the inode has inline_data but the size to fill is less than MAX_INLINE_DATA, then we don't need to convert the inline_data with data allocation.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | f2fs.h | diff 9e09fc855dd6f6ed510b3db7f3c3c1dd73631ac7 Thu Dec 26 21:28:59 CST 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: refactor f2fs_convert_inline_data
Change log from v1: o handle NULL pointer of grab_cache_page_write_begin() pointed by Chao Yu.
This patch refactors f2fs_convert_inline_data to check a couple of conditions internally for deciding whether it needs to convert inline_data or not.
So, the new f2fs_convert_inline_data initially checks: 1) f2fs_has_inline_data(), and 2) the data size to be changed.
If the inode has inline_data but the size to fill is less than MAX_INLINE_DATA, then we don't need to convert the inline_data with data allocation.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|