From 9a854a98af69c1b7e06aa01dff7ea3271ebd574c Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Mon, 23 Apr 2018 04:22:09 -0400 Subject: posix/ctime: posix hooks to get consistent time xattr This patch uses the ctime posix APIs to get consistent time across replica. The time attributes are got from from inode context or from on disk if not found and merged with iatt to be returned. Credits: Rafi KC Updates: #208 Change-Id: Id737038ce52468f1f5ebc8a42cbf9c6ffbd63850 Signed-off-by: Kotresh HR --- xlators/storage/posix/src/posix-messages.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/storage/posix/src/posix-messages.h') diff --git a/xlators/storage/posix/src/posix-messages.h b/xlators/storage/posix/src/posix-messages.h index 6b5332b6d09..b83a7b18809 100644 --- a/xlators/storage/posix/src/posix-messages.h +++ b/xlators/storage/posix/src/posix-messages.h @@ -138,7 +138,8 @@ GLFS_MSGID(POSIX, P_MSG_DISK_SPACE_CHECK_FAILED, P_MSG_FALLOCATE_FAILED, P_MSG_STOREMDATA_FAILED, - P_MSG_FETCHMDATA_FAILED + P_MSG_FETCHMDATA_FAILED, + P_MSG_GETMDATA_FAILED ); #endif /* !_GLUSTERD_MESSAGES_H_ */ -- cgit