From: Huajun Li <huajun.li@intel.com>
To: jaegeuk.kim@samsung.com, linux-fsdevel@vger.kernel.org,
huajun.li.lee@gmail.com
Cc: namjae.jeon@samsung.com, linux-kernel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net,
Haicheng Li <haicheng.li@linux.intel.com>,
Huajun Li <huajun.li@intel.com>
Subject: [RFC 4/5] f2fs: Add Kconfig interface for inline data support
Date: Mon, 3 Jun 2013 18:04:13 +0800 [thread overview]
Message-ID: <1370253854-15084-5-git-send-email-huajun.li@intel.com> (raw)
In-Reply-To: <1370253854-15084-1-git-send-email-huajun.li@intel.com>
From: Haicheng Li <haicheng.li@linux.intel.com>
Add Kconfig interface for inline data support, and update Makefile to
compile new added source file.
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
Signed-off-by: Huajun Li <huajun.li@intel.com>
---
fs/f2fs/Kconfig | 10 ++++++++++
fs/f2fs/Makefile | 1 +
2 files changed, 11 insertions(+)
diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig
index fd27e7e..75da2e4 100644
--- a/fs/f2fs/Kconfig
+++ b/fs/f2fs/Kconfig
@@ -51,3 +51,13 @@ config F2FS_FS_POSIX_ACL
Linux website <http://acl.bestbits.at/>.
If you don't know what Access Control Lists are, say N
+
+config F2FS_INLINE_DATA
+ bool "F2FS inline data support"
+ depends on F2FS_FS
+ default y
+ help
+ Inline data support is an optimization of F2FS data space management,
+ which utilizes the unused space within f2fs inode to keep real data.
+
+ If unsure, say N.
diff --git a/fs/f2fs/Makefile b/fs/f2fs/Makefile
index 27a0820..e1ff7b8 100644
--- a/fs/f2fs/Makefile
+++ b/fs/f2fs/Makefile
@@ -5,3 +5,4 @@ f2fs-y += checkpoint.o gc.o data.o node.o segment.o recovery.o
f2fs-$(CONFIG_F2FS_STAT_FS) += debug.o
f2fs-$(CONFIG_F2FS_FS_XATTR) += xattr.o
f2fs-$(CONFIG_F2FS_FS_POSIX_ACL) += acl.o
+f2fs-$(CONFIG_F2FS_INLINE_DATA) += inline.o
--
1.7.9.5
next prev parent reply other threads:[~2013-06-03 10:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 10:04 [RFC 0/5] Enable f2fs support inline data Huajun Li
2013-06-03 10:04 ` [RFC 1/5] f2fs: Add helper functions and flag to " Huajun Li
2013-06-03 10:04 ` [RFC 2/5] f2fs: Handle inline data read and write Huajun Li
2013-06-03 10:04 ` [RFC 3/5] f2fs: Key functions to handle inline data Huajun Li
2013-06-03 10:04 ` Huajun Li [this message]
2013-06-03 10:04 ` [RFC 5/5] f2fs: add tracepoints to debug inline data operations Huajun Li
2013-06-03 13:50 ` Steven Rostedt
2013-06-03 23:45 ` Haicheng Li
2013-06-04 2:19 ` [RFC 0/5] Enable f2fs support inline data Jaegeuk Kim
2013-06-04 4:23 ` Namjae Jeon
2013-06-04 6:01 ` Haicheng Li
2013-06-05 7:13 ` Jaegeuk Kim
[not found] ` <CA+v9cxZVvW+puuSWOYPJ-QnMPq-=vSi3xbb79s1u8i43XN2Wxw@mail.gmail.com>
2013-06-09 22:55 ` Jaegeuk Kim
2013-08-07 11:36 ` Jaegeuk Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1370253854-15084-5-git-send-email-huajun.li@intel.com \
--to=huajun.li@intel.com \
--cc=haicheng.li@linux.intel.com \
--cc=huajun.li.lee@gmail.com \
--cc=jaegeuk.kim@samsung.com \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namjae.jeon@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®