fs: Add sdfat
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / fs / sdfat / Kconfig
1 config SDFAT_FS
2 tristate
3 default y
4 select NLS
5 select NLS_UTF8
6 select NLS_CODEPAGE_437
7 select NLS_ISO8859_1
8 help
9 If you want to use the sdFAT file system, then you must say Y or M
10 here to inlucde sdFAT support.
11 sdFAT is unified FAT-based file system which supports not only fat12/
12 16/32 with vfat but also exfat. sdFAT supports winnt short-name rule.
13 (winnt: emulate the Windows NT rule for display/create.)
14
15 To compile this as a module, choose M here: the module will be called
16 sdfat_core and sdfat_fs.
17
18 config SDFAT_DELAYED_META_DIRTY
19 bool "Enable delayed metadata dirty"
20 default y
21 depends on SDFAT_FS
22 help
23 If you enable this feature, metadata(FAT/Directory entry) is updated
24 by flush thread.
25
26 config SDFAT_SUPPORT_DIR_SYNC
27 bool "Enable supporting dir sync"
28 default n
29 depends on SDFAT_FS
30 help
31 If you enable this feature, the modification for directory operation
32 is written to a storage at once.
33
34 config SDFAT_DEFAULT_CODEPAGE
35 int "Default codepage for sdFAT"
36 default 437
37 depends on SDFAT_FS
38 help
39 This option should be set to the codepage of your sdFAT filesystems.
40
41 config SDFAT_DEFAULT_IOCHARSET
42 string "Default iocharset for sdFAT"
43 default "utf8"
44 depends on SDFAT_FS
45 help
46 Set this to the default input/output character set you'd
47 like sdFAT to use. It should probably match the character set
48 that most of your sdFAT filesystems use, and can be overridden
49 with the "iocharset" mount option for sdFAT filesystems.
50
51 config SDFAT_CHECK_RO_ATTR
52 bool "Check read-only attribute"
53 default n
54 depends on SDFAT_FS
55
56 config SDFAT_ALIGNED_MPAGE_WRITE
57 bool "Enable supporting aligned mpage_write"
58 default y
59 depends on SDFAT_FS
60
61 config SDFAT_VIRTUAL_XATTR
62 bool "Virtual xattr support for sdFAT"
63 default y
64 depends on SDFAT_FS
65 help
66 To support virtual xattr.
67
68 config SDFAT_VIRTUAL_XATTR_SELINUX_LABEL
69 string "Default string for SELinux label"
70 default "u:object_r:sdcard_external:s0"
71 depends on SDFAT_FS && SDFAT_VIRTUAL_XATTR
72 help
73 Set this to the default string for SELinux label.
74
75 config SDFAT_SUPPORT_STLOG
76 bool "Enable storage log"
77 default y
78 depends on SDFAT_FS && PROC_STLOG
79
80 config SDFAT_DEBUG
81 bool "enable debug features"
82 depends on SDFAT_FS
83 default y
84
85 config SDFAT_DBG_IOCTL
86 bool "enable debug-ioctl features"
87 depends on SDFAT_FS && SDFAT_DEBUG
88 default n
89
90 config SDFAT_DBG_MSG
91 bool "enable debug messages"
92 depends on SDFAT_FS && SDFAT_DEBUG
93 default y
94
95 config SDFAT_DBG_BUGON
96 bool "enable strict BUG_ON() for debugging"
97 depends on SDFAT_FS && SDFAT_DEBUG
98 default n
99
100 config SDFAT_STATISTICS
101 bool "enable statistics for bigdata"
102 depends on SDFAT_FS
103 default y