ext4: add nombcache mount option
authorTahsin Erdogan <tahsin@google.com>
Thu, 22 Jun 2017 15:55:14 +0000 (11:55 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jun 2017 15:55:14 +0000 (11:55 -0400)
commitcdb7ee4c632759075866bb8da5fb16b764e66ded
treed3c6d898e4f77c5dc8073d42b7262f4ee8663fac
parentb9fc761ea2d82e910e92f83d01bbbbe1f5e99bfc
ext4: add nombcache mount option

The main purpose of mb cache is to achieve deduplication in
extended attributes. In use cases where opportunity for deduplication
is unlikely, it only adds overhead.

Add a mount option to explicitly turn off mb cache.

Suggested-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c
fs/ext4/xattr.c