xref: /linux/fs/nilfs2/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24fed598aSRyusuke Konishiconfig NILFS2_FS
3f11cb227SKees Cook	tristate "NILFS2 file system support"
44fed598aSRyusuke Konishi	select CRC32
54fed598aSRyusuke Konishi	help
64fed598aSRyusuke Konishi	  NILFS2 is a log-structured file system (LFS) supporting continuous
74fed598aSRyusuke Konishi	  snapshotting.  In addition to versioning capability of the entire
84fed598aSRyusuke Konishi	  file system, users can even restore files mistakenly overwritten or
94fed598aSRyusuke Konishi	  destroyed just a few seconds ago.  Since this file system can keep
104fed598aSRyusuke Konishi	  consistency like conventional LFS, it achieves quick recovery after
114fed598aSRyusuke Konishi	  system crashes.
124fed598aSRyusuke Konishi
134fed598aSRyusuke Konishi	  NILFS2 creates a number of checkpoints every few seconds or per
144fed598aSRyusuke Konishi	  synchronous write basis (unless there is no change).  Users can
154fed598aSRyusuke Konishi	  select significant versions among continuously created checkpoints,
164fed598aSRyusuke Konishi	  and can change them into snapshots which will be preserved for long
174fed598aSRyusuke Konishi	  periods until they are changed back to checkpoints.  Each
184fed598aSRyusuke Konishi	  snapshot is mountable as a read-only file system concurrently with
194fed598aSRyusuke Konishi	  its writable mount, and this feature is convenient for online backup.
204fed598aSRyusuke Konishi
214fed598aSRyusuke Konishi	  Some features including atime, extended attributes, and POSIX ACLs,
224fed598aSRyusuke Konishi	  are not supported yet.
234fed598aSRyusuke Konishi
244fed598aSRyusuke Konishi	  To compile this file system support as a module, choose M here: the
254fed598aSRyusuke Konishi	  module will be called nilfs2.  If unsure, say N.
26