Re: [PATCH 3/3] ext4: Deprecate barrier= and nobarrier mount options
From: Tejun Heo <tj@kernel.org>
Date: 2011-01-26 10:51:45
Also in:
lkml
From: Tejun Heo <tj@kernel.org>
Date: 2011-01-26 10:51:45
Also in:
lkml
Hello, On Wed, Jan 26, 2011 at 11:47:34AM +0100, Jan Kara wrote:
Ted should have a final word about this but I believe it's possible to deprecate the mount options. Maybe with some transition period where deprecation message is shown but the option actually still works. That being said I'm not sure what we should do when someone has a disk with two partitions and one partition is mounted with barriers and another one without them - sure, one has to think hard to find a sane use case for this (possibly if user does not care about data after a crash on one of the partitions, in which case he should probably use nojournal mode) but it should probably work.
The policy can be made per-bdev (which maps to per-partition), so I don't think that's a big problem. Thanks. -- tejun