diff options
author | shishir gowda <sgowda@redhat.com> | 2012-07-26 15:21:38 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-10-16 14:27:15 -0700 |
commit | 53e49e8592140d9f9d2134df6bb8322276e27cff (patch) | |
tree | 806c998518c42c431c37c61b7d6358ac16cf1fed /contrib | |
parent | f59494ba652f20d8bb83ace256ad965783a9bbf4 (diff) |
cluster/distribute: Always return the latest time in struct iatt.
save the a/c/mtime in inode_ctx, and dht_inode_ctx_update
checks the passed iatte, and updates the stat's time,
and inode_ctx's time accordingly. For preparent times, only
the iatt stat to be returned is updated, not the ctx.
With this, update, WIPE is removed, as we would always be passing
back the latest mtime, and hence cache times will be relevant.
TODO-handle rename WIPE calls
Change-Id: I8e4c738cd830f3fafeef789c9181f9c242ac96a2
BUG: 857791
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/3737
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions