From f8fe0771f0b450713595a7d298ed5a758cf2ce3e Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Mon, 2 Apr 2018 08:31:25 -0400 Subject: posix/ctime: posix hook to set ctime xattr in relevant fops This patch uses the ctime posix APIs to set consistent time across replica on disk. It also stores the time attributes in the inode context. Credits: Rafi KC Updates: #208 Change-Id: I1a8d74d1e251f1d6d142f066fc99258025c0bcdd 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 b83a7b18809..2c23387f7e7 100644 --- a/xlators/storage/posix/src/posix-messages.h +++ b/xlators/storage/posix/src/posix-messages.h @@ -139,7 +139,8 @@ GLFS_MSGID(POSIX, P_MSG_FALLOCATE_FAILED, P_MSG_STOREMDATA_FAILED, P_MSG_FETCHMDATA_FAILED, - P_MSG_GETMDATA_FAILED + P_MSG_GETMDATA_FAILED, + P_MSG_SETMDATA_FAILED ); #endif /* !_GLUSTERD_MESSAGES_H_ */ -- cgit