ext3: make ext3 mount default to barrier=1
authorChristoph Hellwig <hch@infradead.org>
Sat, 16 Jul 2011 20:46:50 +0000 (16:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 00:47:54 +0000 (20:47 -0400)
commit00eacd66cd8ab5fff9df49aa3f261ad43d495434
treee561daf501504513463e32d6b32fe5f200f6cc22
parentb85fd6bdc99da917f5ae0f90f0c2d86ef9a766aa
ext3: make ext3 mount default to barrier=1

This patch turns on barriers by default for ext3.  mount -o barrier=0
will turn them off.  Based on a patch from Chris Mason in the SuSE tree.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Jan Kara <jack@suse.cz>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Acked-by: Ted Ts'o <tytso@mit.edu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext3/super.c