Merge tag 'v3.10.99' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / Documentation / filesystems / jfs.txt
CommitLineData
1da177e4
LT
1IBM's Journaled File System (JFS) for Linux
2
3JFS Homepage: http://jfs.sourceforge.net/
4
5The following mount options are supported:
b40c2e66 6(*) == default
1da177e4
LT
7
8iocharset=name Character set to use for converting from Unicode to
9 ASCII. The default is to do no conversion. Use
4de151d8 10 iocharset=utf8 for UTF-8 translations. This requires
1da177e4
LT
11 CONFIG_NLS_UTF8 to be set in the kernel .config file.
12 iocharset=none specifies the default behavior explicitly.
13
14resize=value Resize the volume to <value> blocks. JFS only supports
15 growing a volume, not shrinking it. This option is only
16 valid during a remount, when the volume is mounted
17 read-write. The resize keyword with no value will grow
18 the volume to the full size of the partition.
19
20nointegrity Do not write to the journal. The primary use of this option
21 is to allow for higher performance when restoring a volume
22 from backup media. The integrity of the volume is not
23 guaranteed if the system abnormally abends.
24
b40c2e66
TR
25integrity(*) Commit metadata changes to the journal. Use this option to
26 remount a volume where the nointegrity option was
1da177e4
LT
27 previously specified in order to restore normal behavior.
28
29errors=continue Keep going on a filesystem error.
b40c2e66 30errors=remount-ro(*) Remount the filesystem read-only on an error.
1da177e4
LT
31errors=panic Panic and halt the machine if an error occurs.
32
ba863a00
DK
33uid=value Override on-disk uid with specified value
34gid=value Override on-disk gid with specified value
35umask=value Override on-disk umask with specified octal value. For
36 directories, the execute bit will be set if the corresponding
37 read bit is set.
38
b40c2e66
TR
39discard=minlen This enables/disables the use of discard/TRIM commands.
40discard The discard/TRIM commands are sent to the underlying
41nodiscard(*) block device when blocks are freed. This is useful for SSD
42 devices and sparse/thinly-provisioned LUNs. The FITRIM ioctl
43 command is also available together with the nodiscard option.
44 The value of minlen specifies the minimum blockcount, when
45 a TRIM command to the block device is considered usefull.
46 When no value is given to the discard option, it defaults to
47 64 blocks, which means 256KiB in JFS.
48 The minlen value of discard overrides the minlen value given
49 on an FITRIM ioctl().
50
1da177e4
LT
51The JFS mailing list can be subscribed to by using the link labeled
52"Mail list Subscribe" at our web page http://jfs.sourceforge.net/