summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-messages.h
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2018-04-02 08:31:25 -0400
committerAmar Tumballi <amarts@redhat.com>2018-05-06 07:09:08 +0530
commitf8fe0771f0b450713595a7d298ed5a758cf2ce3e (patch)
tree8066610f5d3343c5f71b52c9159a701e7450c7a3 /xlators/storage/posix/src/posix-messages.h
parent9a854a98af69c1b7e06aa01dff7ea3271ebd574c (diff)
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 <rkavunga@redhat.com> Updates: #208 Change-Id: I1a8d74d1e251f1d6d142f066fc99258025c0bcdd Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-messages.h')
-rw-r--r--xlators/storage/posix/src/posix-messages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix-messages.h b/xlators/storage/posix/src/posix-messages.h
index b83a7b1..2c23387 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_ */