UBIFS: add no_chk_data_crc mount option
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Thu, 4 Sep 2008 13:26:00 +0000 (16:26 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Sep 2008 08:12:56 +0000 (11:12 +0300)
commit2953e73f1ce4b3284b409aefb9d46bbde6515c37
tree56126c6a589bd0450eb288db6a93946e50e5bc29
parent4793e7c5e1c88382ead18db5ca072bac54467318
UBIFS: add no_chk_data_crc mount option

UBIFS read performance can be improved by skipping the CRC
check when data nodes are read.  This option can be used if
the underlying media is considered to be highly reliable.
Note that CRCs are always checked for metadata.

Read speed on Arm platform with OneNAND goes from 19 MiB/s
to 27 MiB/s with data CRC checking disabled.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Documentation/filesystems/ubifs.txt
fs/ubifs/io.c
fs/ubifs/scan.c
fs/ubifs/super.c
fs/ubifs/tnc.c
fs/ubifs/ubifs.h