mirror of https://gitee.com/openkylin/linux.git
nilfs2: update makefile and Kconfig
This adds a Makefile for the nilfs2 file system, and updates the makefile and Kconfig file in the file system directory. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7942b919f7
commit
0c4fb87764
27
fs/Kconfig
27
fs/Kconfig
|
@ -175,9 +175,34 @@ source "fs/qnx4/Kconfig"
|
|||
source "fs/romfs/Kconfig"
|
||||
source "fs/sysv/Kconfig"
|
||||
source "fs/ufs/Kconfig"
|
||||
|
||||
source "fs/exofs/Kconfig"
|
||||
|
||||
config NILFS2_FS
|
||||
tristate "NILFS2 file system support (EXPERIMENTAL)"
|
||||
depends on BLOCK && EXPERIMENTAL
|
||||
select CRC32
|
||||
help
|
||||
NILFS2 is a log-structured file system (LFS) supporting continuous
|
||||
snapshotting. In addition to versioning capability of the entire
|
||||
file system, users can even restore files mistakenly overwritten or
|
||||
destroyed just a few seconds ago. Since this file system can keep
|
||||
consistency like conventional LFS, it achieves quick recovery after
|
||||
system crashes.
|
||||
|
||||
NILFS2 creates a number of checkpoints every few seconds or per
|
||||
synchronous write basis (unless there is no change). Users can
|
||||
select significant versions among continuously created checkpoints,
|
||||
and can change them into snapshots which will be preserved for long
|
||||
periods until they are changed back to checkpoints. Each
|
||||
snapshot is mountable as a read-only file system concurrently with
|
||||
its writable mount, and this feature is convenient for online backup.
|
||||
|
||||
Some features including atime, extended attributes, and POSIX ACLs,
|
||||
are not supported yet.
|
||||
|
||||
To compile this file system support as a module, choose M here: the
|
||||
module will be called nilfs2. If unsure, say N.
|
||||
|
||||
endif # MISC_FILESYSTEMS
|
||||
|
||||
menuconfig NETWORK_FILESYSTEMS
|
||||
|
|
|
@ -114,6 +114,7 @@ obj-$(CONFIG_JFS_FS) += jfs/
|
|||
obj-$(CONFIG_XFS_FS) += xfs/
|
||||
obj-$(CONFIG_9P_FS) += 9p/
|
||||
obj-$(CONFIG_AFS_FS) += afs/
|
||||
obj-$(CONFIG_NILFS2_FS) += nilfs2/
|
||||
obj-$(CONFIG_BEFS_FS) += befs/
|
||||
obj-$(CONFIG_HOSTFS) += hostfs/
|
||||
obj-$(CONFIG_HPPFS) += hppfs/
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
obj-$(CONFIG_NILFS2_FS) += nilfs2.o
|
||||
nilfs2-y := inode.o file.o dir.o super.o namei.o page.o mdt.o \
|
||||
btnode.o bmap.o btree.o direct.o dat.o recovery.o \
|
||||
the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
|
||||
ifile.o alloc.o gcinode.o ioctl.o gcdat.o
|
Loading…
Reference in New Issue