Project

General

Profile

Actions

Bug #63596

open

After copyup cloned volume objects are written to, the osd ops carries stat op

Added by qing zhao 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

1. rbd create --size 10240 zq.rgw.buckets.index/image02
2. write to zq.rgw.buckets.index/image02
3. rbd snap create zq.rgw.buckets.index/image02@snap2
4. rbd snap protect zq.rgw.buckets.index/image02@snap2
5. rbd clone zq.rgw.buckets.index/image02@snap2 zq.rgw.buckets.index/clone02
6. write to zq.rgw.buckets.index/clone02

After copyup cloned volume objects of zq.rgw.buckets.index/clone02!! are written to, the osd ops carries stat op.


Files

clone-images.png (198 KB) clone-images.png qing zhao, 11/21/2023 07:24 AM
object-rw-lock.png (283 KB) object-rw-lock.png qing zhao, 11/21/2023 07:24 AM
write_and_stat.png (370 KB) write_and_stat.png qing zhao, 11/21/2023 07:25 AM
Actions #2

Updated by qing zhao 6 months ago

stat op causes an exclusive lock to be obtained for write operations on an object. In high concurrency, write operations on the object cannot obtain the lock, resulting in a long queue, which affects performance

Actions #3

Updated by Ilya Dryomov 6 months ago

This seems to be a duplicate of https://tracker.ceph.com/issues/53593.

Actions

Also available in: Atom PDF