diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-05-31 10:48:29 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-04 00:32:47 +0200 |
commit | fc2744aa12da7182509b1059aa3ab53754d0c83a (patch) | |
tree | 3a601a5e8a6bb5fe60141c21e07d99ebb8472d6a /fs/ceph/super.c | |
parent | ceph: reset iov_len when discarding cap release messages (diff) | |
download | linux-fc2744aa12da7182509b1059aa3ab53754d0c83a.tar.xz linux-fc2744aa12da7182509b1059aa3ab53754d0c83a.zip |
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>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions