]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: only set smaller flag in setattr completion if actually truncating
authorSage Weil <sage@newdream.net>
Wed, 3 Feb 2010 18:28:01 +0000 (10:28 -0800)
committerSage Weil <sage@newdream.net>
Wed, 3 Feb 2010 18:29:21 +0000 (10:29 -0800)
commit0fcd68b1d626437e82add466d5b3f5159e36e814
treefc194a60c1f32b5532c8ff5d41535371db5537ca
parent24747836fea4f717ac07a891362962842c1e479d
mds: only set smaller flag in setattr completion if actually truncating

Otherwise we can erroneously trigger the truncation code when another
setattr overlaps with an in-progress truncate.
src/mds/Server.cc