Re: [PATCH 3/3] ext4: Deprecate barrier= and nobarrier mountoptions
From: Tejun Heo
Date: Wed Jan 26 2011 - 07:22:05 EST
On Wed, Jan 26, 2011 at 07:16:18AM -0500, Ric Wheeler wrote:
> I would also like to suggest that mount is the right time to change
> a per file system behaviour. We have well known paths (add the mount
> options to /etc/fstab) and sys admins understand it.
> If we have to poke a file, what is the suggested mechanism for doing
> this? Another, new script or user space utility that needs to be run
> at mount time for each file system?
> If we did want to deprecate the "barrier" name, I would leave it in
> place and replace it with something meaningful (at mount time!) to
> users like "data_safety" and "no_data_safety" modes :)
With barrier on by default these days, I don't think it's necessary to
fiddle with it too much. It's not as important as before. Let's
leave it as it is. Barrier, flush, it doesn't really matter how it's
In the long run tho, I think filesystems should just always enable
flush/barrier and the fiddling belongs to the block layer.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/