commit | fc2744aa12da7182509b1059aa3ab53754d0c83a | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Fri May 31 16:48:29 2013 +0800 |
committer | Sage Weil <sage@inktank.com> | Wed Jul 03 15:32:47 2013 -0700 |
tree | 3a601a5e8a6bb5fe60141c21e07d99ebb8472d6a | |
parent | 3803da4963db01da6a983ab589ebe2e6ccb97ba9 [diff] |
ceph: fix race between page writeback and truncate The client can receive truncate request from MDS at any time. So the page writeback code need to get i_size, truncate_seq and truncate_size atomically Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Sage Weil <sage@inktank.com>