From: Chris Mason <mason@xxxxxxxx> Subject: Make reiserfs default to barrier=flush Change the default reiserfs mount option to barrier=flush Signed-off-by: Chris Mason <mason@xxxxxxxx> --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -1785,9 +1785,12 @@ static int reiserfs_fill_super(struct su } else { reiserfs_info(s, "using writeback data mode\n"); } - if (reiserfs_barrier_flush(s)) { + /* make barrer=flush the default */ + + if (!reiserfs_barrier_none(s)) + REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_BARRIER_FLUSH); + if (reiserfs_barrier_flush(s)) printk("reiserfs: using flush barriers\n"); - } // set_device_ro(s->s_dev, 1) ; if (journal_init(s, jdev_name, old_format, commit_max_age)) { SWARN(silent, s, - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html