commit | c8fd0d37f81dd38e3f319f4938b45a5aaf0dfc58 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon Aug 28 15:41:28 2017 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Sep 06 19:56:53 2017 +0200 |
tree | e72fcd3a9b1b53e7007cbedfcf39bfe12a06c393 | |
parent | fa0aa3b839b922c7bb911dbe2435da2a4e59d82d [diff] |
ceph: handle race between vmtruncate and queuing cap snap It's possible that we create a cap snap while there is pending vmtruncate (truncate hasn't been processed by worker thread). We should truncate dirty pages beyond capsnap->size in that case. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>