From: Bob Glossman Date: Tue, 19 Nov 2013 22:51:09 +0000 (-0800) Subject: LU-4276 ldiskfs: enable read/write access by default X-Git-Tag: 2.5.1-RC1~61 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4bf4cdfef0f478c1c9c72bd8030be19a0899fea4;p=fs%2Flustre-release.git LU-4276 ldiskfs: enable read/write access by default Add build time config option to allow read/write access by default. While the new CONFIG_LDISKFS_FS_RW only matters in SLES11 builds, it's easiest to just add the flag to all builds unconditionally. It will be ignored in builds where it doesn't matter. Lustre-commit: 14c94c20c3447584e81d720c2b2a17888716709e Lustre-change: http://review.whamcloud.com/8335 Signed-off-by: Bob Glossman Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Change-Id: I4fcf0b2f884b1442db0aac5788bf62f07537c5d4 Reviewed-on: http://review.whamcloud.com/8779 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/config/lustre-build-ldiskfs.m4 b/config/lustre-build-ldiskfs.m4 index d990354..4b15de3 100644 --- a/config/lustre-build-ldiskfs.m4 +++ b/config/lustre-build-ldiskfs.m4 @@ -151,6 +151,7 @@ AS_IF([test x$enable_ldiskfs != xno],[ AC_DEFINE(CONFIG_LDISKFS_FS_POSIX_ACL, 1, [posix acls for ldiskfs]) AC_DEFINE(CONFIG_LDISKFS_FS_SECURITY, 1, [fs security for ldiskfs]) AC_DEFINE(CONFIG_LDISKFS_FS_XATTR, 1, [extened attributes for ldiskfs]) + AC_DEFINE(CONFIG_LDISKFS_FS_RW, 1, [enable rw access for ldiskfs]) AC_SUBST(LDISKFS_SUBDIR, ldiskfs) AC_DEFINE(HAVE_LDISKFS_OSD, 1, Enable ldiskfs osd) ])