commit | 3ae0bebc49b3fb3c9fa9b62b95c5119a04aa7282 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon Aug 28 16:36:53 2017 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Sep 06 19:56:54 2017 +0200 |
tree | f98801c0cb9e80a22fee86c0001ec0a4e3153f0a | |
parent | c8fd0d37f81dd38e3f319f4938b45a5aaf0dfc58 [diff] |
ceph: queue cap snap only when snap realm's context changes If we create capsnap when snap realm's context does not change, the new capsnap's snapc is equal to ci->i_head_snapc. Page writeback code can't differentiates dirty pages associated with the new capsnap from dirty pages associated with i_head_snapc. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>