#define MOUNT_CONFIGS_DIR "CONFIGS"
/* Persistent mount data are stored on the disk in this file. */
#define MOUNT_DATA_FILE MOUNT_CONFIGS_DIR"/mountdata"
-#define LAST_RCVD "last_rcvd"
+#define LAST_RCVD "last_received"
#define LOV_OBJID "lov_objid"
#define HEALTH_CHECK "health_check"
goto out_umount;
}
- snprintf(filepnm, sizeof(filepnm) - 1, "%s/%s", mntpt, "last_rcvd");
+ snprintf(filepnm, sizeof(filepnm) - 1, "%s/%s", mntpt, "last_received");
ret = touch_file(filepnm);
if (ret) {
goto out_umount;
if (IS_MDT(ldd) || IS_MGS(ldd))
strcat(always_mountopts,
",iopen_nopriv,user_xattr");
+ if (IS_MDT(ldd))
+ strcat(always_mountopts, ",data=journal");
if ((get_os_version() == 24) && IS_OST(ldd))
strcat(always_mountopts, ",asyncdel");
/* NB: Files created while extents are enabled cannot be read