linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev 0/5] f2fs: Enable f2fs support inline data
@ 2013-10-25 16:01 Huajun Li
  2013-10-25 16:01 ` [f2fs-dev 1/5] f2fs: Add flags and helpers to " Huajun Li
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Huajun Li @ 2013-10-25 16:01 UTC (permalink / raw)
  To: jaegeuk.kim, linux-f2fs-devel; +Cc: linux-fsdevel, linux-kernel, Huajun Li

From: Huajun Li <huajun.li@intel.com>

f2fs inode is so large, so small files can be stored directly in the inode,
rather than just storing a single block address and storing the data elsewhere.

This patch set makes files less than ~3.4K store directly in inode block.
a) space saving
   Test with kernel src(without repo data), it can save about 10% space
   with this patch set;
b) performance
   Test this patch set with iozone, there is no obvious performance difference
   with the results of disabling this feature.

Huajun Li (5):
  f2fs: Add flags and helpers to support inline data
  f2fs: Add a new mount option: inline_data
  f2fs: Add a new function: f2fs_reserve_block()
  f2fs: Key functions to handle inline data
  f2fs: Handle inline data read and write

 fs/f2fs/Makefile        |    2 +-
 fs/f2fs/data.c          |   77 ++++++++++++++++++++-----
 fs/f2fs/f2fs.h          |   22 ++++++++
 fs/f2fs/file.c          |   42 +++++++++++++-
 fs/f2fs/inline.c        |  144 +++++++++++++++++++++++++++++++++++++++++++++++
 fs/f2fs/super.c         |    8 ++-
 include/linux/f2fs_fs.h |    8 +++
 7 files changed, 283 insertions(+), 20 deletions(-)
 create mode 100644 fs/f2fs/inline.c

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-10-29 15:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 16:01 [f2fs-dev 0/5] f2fs: Enable f2fs support inline data Huajun Li
2013-10-25 16:01 ` [f2fs-dev 1/5] f2fs: Add flags and helpers to " Huajun Li
2013-10-25 16:01 ` [f2fs-dev 2/5] f2fs: Add a new mount option: inline_data Huajun Li
2013-10-25 16:01 ` [f2fs-dev 3/5] f2fs: Add a new function: f2fs_reserve_block() Huajun Li
     [not found]   ` <1382962607.992.104.camel@kjgkr>
2013-10-28 12:28     ` Jaegeuk Kim
2013-10-28 16:53       ` Huajun Li
2013-10-29  0:56         ` Jaegeuk Kim
2013-10-29 15:27           ` Huajun Li
2013-10-25 16:01 ` [f2fs-dev 4/5] f2fs: Key functions to handle inline data Huajun Li
2013-10-28 12:43   ` Jaegeuk Kim
2013-10-28 17:20     ` Huajun Li
2013-10-29  1:06       ` Jaegeuk Kim
2013-10-29 15:33         ` Huajun Li
2013-10-25 16:01 ` [f2fs-dev 5/5] f2fs: Handle inline data operations Huajun Li
2013-10-28 12:44   ` Jaegeuk Kim
2013-10-28 16:56     ` Huajun Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).