Bug #14052
Client io blocked when removing snapshot
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I used a rbd command to create a 6TB-size image, And then created a snapshot of this image. After that, I kept writing something like modifying files so the snapshots would be cloned one by one.
At this time, I did the fellow 2 ops simultaneously.
1. keep client io to this image.
2. excute a rbd snap rm command to delete snapshot.
Finally ,I found client io blocked for quite a long time. I used SATA disk to test, and felt that ceph makes it a priority to remove snapshot.
History
#1 Updated by Josh Durgin almost 7 years ago
- Status changed from New to Resolved
The 'osd snap trim sleep' option provides a way to throttle back the impact of snapshot removal on the cluster.