Skip to contentSkip to conversation

xfs: deprecate the nodelaylog mount option

RFC PATCH In review Christoph Hellwig 3 participants 3 messages Aug 24, 2011 – Aug 25, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 xfs: deprecate the nodelaylog mount option

Documentation/feature-removal-schedule.txt +8 -0
Index: xfs/Documentation/feature-removal-schedule.txt
===================================================================
@@ -592,3 +592,11 @@ Why:    In 3.0, we can now autodetect in
 	interface that was used by acer-wmi driver. It will replaced by
 	information log when acer-wmi initial.
 Who:    Lee, Chun-Yi <[email protected]>
+
+----------------------------
+What:	The XFS nodelaylog mount option
+When:	3.3
+Why:	The delaylog mode that has been the default since 2.6.39 has proven
+	stable, and the old code is in the way of additional improvements in
+	the log code.
+Who:	Christoph Hellwig <[email protected]>
fs/xfs/xfs_super.c +2 -0
Index: xfs/fs/xfs/xfs_super.c
===================================================================
@@ -356,6 +356,8 @@ xfs_parseargs(
 			mp->m_flags |= XFS_MOUNT_DELAYLOG;
 		} else if (!strcmp(this_char, MNTOPT_NODELAYLOG)) {
 			mp->m_flags &= ~XFS_MOUNT_DELAYLOG;
+			xfs_warn(mp,
+	"nodelaylog is deprecated and will be removed in Linux 3.3");
 		} else if (!strcmp(this_char, MNTOPT_DISCARD)) {
 			mp->m_flags |= XFS_MOUNT_DISCARD;
 		} else if (!strcmp(this_char, MNTOPT_NODISCARD)) {

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Christoph Hellwig

Index: xfs/Documentation/feature-removal-schedule.txt
===================================================================

Documentation/feature-removal-schedule.txt +8 -0
@@ -592,3 +592,11 @@ Why:    In 3.0, we can now autodetect in
 	interface that was used by acer-wmi driver. It will replaced by
 	information log when acer-wmi initial.
 Who:    Lee, Chun-Yi <[email protected]>
+
+----------------------------
+What:	The XFS nodelaylog mount option
+When:	3.3
+Why:	The delaylog mode that has been the default since 2.6.39 has proven
+	stable, and the old code is in the way of additional improvements in
+	the log code.
+Who:	Christoph Hellwig <[email protected]>

Index: xfs/fs/xfs/xfs_super.c
===================================================================

fs/xfs/xfs_super.c xfs_parseargs( · line 363

Quoted 8 lines
fs/xfs/xfs_super.c +2 -0
@@ -356,6 +356,8 @@ xfs_parseargs(
 			mp->m_flags |= XFS_MOUNT_DELAYLOG;
 		} else if (!strcmp(this_char, MNTOPT_NODELAYLOG)) {
 			mp->m_flags &= ~XFS_MOUNT_DELAYLOG;
+			xfs_warn(mp,
+	"nodelaylog is deprecated and will be removed in Linux 3.3");
 		} else if (!strcmp(this_char, MNTOPT_DISCARD)) {
 			mp->m_flags |= XFS_MOUNT_DISCARD;
 		} else if (!strcmp(this_char, MNTOPT_NODISCARD)) {

No argument here. Getting rid of the old transaction commit code would both siginficantly cleanup the code and enable lots of interesting transaction optimisations to be made....

So it gets my thumbs-up.

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs