From: Niu Yawei Date: Thu, 26 Mar 2015 01:53:25 +0000 (-0400) Subject: staging/lustre: update timestamps after buiding rpc X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce08cd7a281e11d83ac3f92832522cf4a2f549c;p=pandora-kernel.git staging/lustre: update timestamps after buiding rpc The mtime/atime/ctime in the write RPC has to be updated after the RPC is built (where xid is generated), otherwise, it could race with the setattr and updating wrong timestamps on OST side. Seems this regression was introduced when landing clio code. Signed-off-by: Niu Yawei Reviewed-on: http://review.whamcloud.com/13261 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5951 Reviewed-by: John L. Hammond Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed