summaryrefslogtreecommitdiff
path: root/lib/rational.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-05-31 08:48:29 (GMT)
committerSage Weil <sage@inktank.com>2013-07-03 22:32:47 (GMT)
commitfc2744aa12da7182509b1059aa3ab53754d0c83a (patch)
tree3a601a5e8a6bb5fe60141c21e07d99ebb8472d6a /lib/rational.c
parent3803da4963db01da6a983ab589ebe2e6ccb97ba9 (diff)
downloadlinux-fc2744aa12da7182509b1059aa3ab53754d0c83a.tar.xz
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 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions