linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ext4: Deprecate data=journal mount option
@ 2011-06-28 11:26 Lukas Czerner
  2011-06-29  4:49 ` Bruce Guenter
  2011-08-11 15:01 ` Lukas Czerner
  0 siblings, 2 replies; 17+ messages in thread
From: Lukas Czerner @ 2011-06-28 11:26 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, jack, sandeen, adilger, Lukas Czerner

Data journalling mode (data=journal) is known to be neglected by
developers and only minority of people is actually using it. This
mode is also less tested than the other two modes by the developers.

This creates a dangerous combination, because the option which seems
*safer* is actually less safe the others. So this commit adds a warning
message in case that data=journal mode is used, so the user is informed
that the mode might be removed in the future.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 fs/ext4/super.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 9ea71aa..9d189cf 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1631,6 +1631,11 @@ static int parse_options(char *options, struct super_block *sb,
 			sbi->s_min_batch_time = option;
 			break;
 		case Opt_data_journal:
+			ext4_msg(sb, KERN_WARNING,
+				 "Using data=journal may be removed in the "
+				 "future. Please, contact "
+				 "linux-ext4@vger.kernel.org if you are "
+				 "using this feature.");
 			data_opt = EXT4_MOUNT_JOURNAL_DATA;
 			goto datacheck;
 		case Opt_data_ordered:
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-12-22 18:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 11:26 [PATCH v2] ext4: Deprecate data=journal mount option Lukas Czerner
2011-06-29  4:49 ` Bruce Guenter
2011-06-29 11:49   ` Lukas Czerner
2011-08-11 15:01 ` Lukas Czerner
2011-08-11 21:08   ` Andreas Dilger
2011-08-12  8:16     ` Lukas Czerner
2011-08-12  8:25       ` Ric Wheeler
2011-08-12 15:45         ` Curt Wohlgemuth
2011-08-12 16:08           ` Lukas Czerner
2011-08-12 18:13             ` Ted Ts'o
2011-08-12 20:57               ` Christoph Hellwig
2011-08-14  2:06                 ` Ted Ts'o
2011-08-14  2:28                   ` [PATCH] ext2,ext3,ext4: don't inherit APPEND_FL or IMMUTABLE_FL for new inodes Theodore Ts'o
2011-12-22 18:06                     ` Eric Sandeen
2011-12-22 18:19                       ` Ted Ts'o
2011-12-22 18:23                         ` Eric Sandeen
2011-08-15 11:19                   ` [PATCH v2] ext4: Deprecate data=journal mount option Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).