summaryrefslogtreecommitdiff
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-08-28 16:36:53 +0800
committerIlya Dryomov <idryomov@gmail.com>2017-09-06 19:56:54 +0200
commit3ae0bebc49b3fb3c9fa9b62b95c5119a04aa7282 (patch)
treef98801c0cb9e80a22fee86c0001ec0a4e3153f0a /fs/ceph/addr.c
parentc8fd0d37f81dd38e3f319f4938b45a5aaf0dfc58 (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>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions