diff options
author | Kotresh HR <khiremat@redhat.com> | 2018-05-21 12:57:45 -0400 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2018-05-24 03:42:39 -0400 |
commit | 833808f42247bcb8db1be917f1ffd7841d9e226f (patch) | |
tree | a547480be5533bdb97ccd831a1ea92f395277409 /xlators/storage/posix/src/posix-messages.h | |
parent | 096983831d11901daca0cb33b87bc5c1471a1ebf (diff) |
posix/ctime: Fix gfid heal on first lookup
With ctime feature enabled, the gfid is
not healing on first lookup. The fresh
file logic depends on ctime and it was
fetching from backend instead of xattr
with ctime feature enabled. Fixed the
same.
Also fixed a possible hang with inode lock
Backport of:
> Patch: https://review.gluster.org/20052
> BUG: 1580532
> Change-Id: I020875c0462b284d6fa0e68304a422fa3d6a3e73
> Signed-off-by: Kotresh HR <khiremat@redhat.com>
fixes: bz#1582080
Change-Id: I020875c0462b284d6fa0e68304a422fa3d6a3e73
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.h | 3 |
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 2c23387f7e7..38e6d3113d3 100644 --- a/xlators/storage/posix/src/posix-messages.h +++ b/xlators/storage/posix/src/posix-messages.h @@ -140,7 +140,8 @@ GLFS_MSGID(POSIX, P_MSG_STOREMDATA_FAILED, P_MSG_FETCHMDATA_FAILED, P_MSG_GETMDATA_FAILED, - P_MSG_SETMDATA_FAILED + P_MSG_SETMDATA_FAILED, + P_MSG_FRESHFILE ); #endif /* !_GLUSTERD_MESSAGES_H_ */ |