config SNSC_SSBOOT_FS
	bool "Snapshot Boot filesystem support"
	depends on SNSC
	help
	  Stateless filesystem support for Snapshot Boot

if SNSC_SSBOOT_FS

config SNSC_SSBOOT_FS_DEBUG
	bool "Enable debugging options"
	help
	  Say yes here if you are debugging.

if SNSC_SSBOOT_FS_DEBUG

config SNSC_SSBOOT_FS_DEBUG_VERBOSE
	bool "Enable a lot of debugging output"
	depends on SNSC_SSBOOT_FS_DEBUG
	help
	  Say yes here if you are debugging.

if SNSC_SSBOOT_FS_DEBUG_VERBOSE

config SNSC_SSBOOT_FS_DEBUG_VERBOSE_DEPTH_CACHE_VALIDATE
	bool "Validate all cached depth look ups by doing a full look up"
	depends on !SNSC_SSBOOT_FS_DEBUG_DISABLE_DEPTH_CACHE
	help
	  Unless you are debugging say no here.

config SNSC_SSBOOT_FS_DEBUG_VERBOSE_STATS
	bool "Record stats useful for dentry linkage validation"
	help
	  Enabling this will collect various stats that are useful for
	  validating the dentry linkage is working. Say no here unless
	  you need those stats.

endif

config SNSC_SSBOOT_FS_DEBUG_SANITY_CHECKS
	bool "Enable extra sanity checks"
	help
	  Say yes here if you are debugging.

config SNSC_SSBOOT_FS_DEBUG_DISABLE_DENTRY_LINKAGE
	bool "Disable directly linking the real dentry to the fake one"
	help
	  Unless you are debugging say no here.

config SNSC_SSBOOT_FS_DEBUG_DISABLE_DENTRY_TELEPORT
	bool "Disable teleport optimization"
	depends on !SNSC_SSBOOT_FS_DEBUG_DISABLE_DENTRY_LINKAGE
	help
	  Unless you are debugging say no here.

config SNSC_SSBOOT_FS_DEBUG_DISABLE_DEPTH_CACHE
	bool "Disable using depth cache"
	help
	  Unless you are debugging say no here.

endif

config SNSC_SSBOOT_FS_IN_KERNEL_MOUNT
	bool "Support mounting the backing filesystem in the kernel"
	help
	  Say yes here unless you need to compile ssbootfs as a module.

endif
