diff options
-rw-r--r-- | fs/Kconfig | 27 | ||||
-rw-r--r-- | fs/Makefile | 1 | ||||
-rw-r--r-- | fs/nilfs2/Makefile | 5 |
3 files changed, 32 insertions, 1 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 86b203fc3c56..9f7270f36b2a 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -175,9 +175,34 @@ source "fs/qnx4/Kconfig" | |||
175 | source "fs/romfs/Kconfig" | 175 | source "fs/romfs/Kconfig" |
176 | source "fs/sysv/Kconfig" | 176 | source "fs/sysv/Kconfig" |
177 | source "fs/ufs/Kconfig" | 177 | source "fs/ufs/Kconfig" |
178 | |||
179 | source "fs/exofs/Kconfig" | 178 | source "fs/exofs/Kconfig" |
180 | 179 | ||
180 | config NILFS2_FS | ||
181 | tristate "NILFS2 file system support (EXPERIMENTAL)" | ||
182 | depends on BLOCK && EXPERIMENTAL | ||
183 | select CRC32 | ||
184 | help | ||
185 | NILFS2 is a log-structured file system (LFS) supporting continuous | ||
186 | snapshotting. In addition to versioning capability of the entire | ||
187 | file system, users can even restore files mistakenly overwritten or | ||
188 | destroyed just a few seconds ago. Since this file system can keep | ||
189 | consistency like conventional LFS, it achieves quick recovery after | ||
190 | system crashes. | ||
191 | |||
192 | NILFS2 creates a number of checkpoints every few seconds or per | ||
193 | synchronous write basis (unless there is no change). Users can | ||
194 | select significant versions among continuously created checkpoints, | ||
195 | and can change them into snapshots which will be preserved for long | ||
196 | periods until they are changed back to checkpoints. Each | ||
197 | snapshot is mountable as a read-only file system concurrently with | ||
198 | its writable mount, and this feature is convenient for online backup. | ||
199 | |||
200 | Some features including atime, extended attributes, and POSIX ACLs, | ||
201 | are not supported yet. | ||
202 | |||
203 | To compile this file system support as a module, choose M here: the | ||
204 | module will be called nilfs2. If unsure, say N. | ||
205 | |||
181 | endif # MISC_FILESYSTEMS | 206 | endif # MISC_FILESYSTEMS |
182 | 207 | ||
183 | menuconfig NETWORK_FILESYSTEMS | 208 | menuconfig NETWORK_FILESYSTEMS |
diff --git a/fs/Makefile b/fs/Makefile index 70b2aed87133..af6d04700d9c 100644 --- a/fs/Makefile +++ b/fs/Makefile | |||
@@ -114,6 +114,7 @@ obj-$(CONFIG_JFS_FS) += jfs/ | |||
114 | obj-$(CONFIG_XFS_FS) += xfs/ | 114 | obj-$(CONFIG_XFS_FS) += xfs/ |
115 | obj-$(CONFIG_9P_FS) += 9p/ | 115 | obj-$(CONFIG_9P_FS) += 9p/ |
116 | obj-$(CONFIG_AFS_FS) += afs/ | 116 | obj-$(CONFIG_AFS_FS) += afs/ |
117 | obj-$(CONFIG_NILFS2_FS) += nilfs2/ | ||
117 | obj-$(CONFIG_BEFS_FS) += befs/ | 118 | obj-$(CONFIG_BEFS_FS) += befs/ |
118 | obj-$(CONFIG_HOSTFS) += hostfs/ | 119 | obj-$(CONFIG_HOSTFS) += hostfs/ |
119 | obj-$(CONFIG_HPPFS) += hppfs/ | 120 | obj-$(CONFIG_HPPFS) += hppfs/ |
diff --git a/fs/nilfs2/Makefile b/fs/nilfs2/Makefile new file mode 100644 index 000000000000..df3e62c1ddc5 --- /dev/null +++ b/fs/nilfs2/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | obj-$(CONFIG_NILFS2_FS) += nilfs2.o | ||
2 | nilfs2-y := inode.o file.o dir.o super.o namei.o page.o mdt.o \ | ||
3 | btnode.o bmap.o btree.o direct.o dat.o recovery.o \ | ||
4 | the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \ | ||
5 | ifile.o alloc.o gcinode.o ioctl.o gcdat.o | ||