Skip to content

Commit

Permalink
Bug 31960 - Post write getattr is degrading nfs4 server performance
Browse files Browse the repository at this point in the history
Fix Description:
Removing mtime update - when updating size - as it should
not be done

Change-Id: I6f44c17adf9f9c44d94bc8863905f84d7f0758bd
Signed-off-by: chakragithub <chakragithub@gmail.com>
  • Loading branch information
chakragithub committed Mar 8, 2019
1 parent bc12f31 commit 71b004a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cache_inode/cache_inode_rdwr.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ cache_inode_status_t cache_inode_rdwr(cache_entry_t *entry,
} else {
if (obj_hdl->attrs->filesize < attrsize.file_size)
obj_hdl->attrs->filesize = attrsize.file_size;
cache_inode_set_time_current(&obj_hdl->attrs->mtime);
status = CACHE_INODE_SUCCESS;
}
if (status != CACHE_INODE_SUCCESS)
Expand Down

0 comments on commit 71b004a

Please sign in to comment.