diff options
author | Yan, Zheng <zyan@redhat.com> | 2017-08-28 15:41:28 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-09-06 19:56:53 +0200 |
commit | c8fd0d37f81dd38e3f319f4938b45a5aaf0dfc58 (patch) | |
tree | e72fcd3a9b1b53e7007cbedfcf39bfe12a06c393 /block/kyber-iosched.c | |
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>
Diffstat (limited to 'block/kyber-iosched.c')
0 files changed, 0 insertions, 0 deletions