]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/alienstore: shard objectstore ops to threads by pgid
authorXuehan Xu <xxhdx1985126@gmail.com>
Mon, 1 Mar 2021 04:05:05 +0000 (12:05 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Wed, 17 Mar 2021 02:39:24 +0000 (10:39 +0800)
commitc52dc96c52cb9bacc9b1be8428b74cf3a21e725f
tree8cdb5e61952e13747a4bf7989ccae7e75b5066c5
parent8b30a9ed12d5c44d05c106d751b4431cf4cd3916
crimson/os/alienstore: shard objectstore ops to threads by pgid

Avoid synchronize all alienstore worker thread through a common condition variable,
which would cause performance degradation.

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/os/alienstore/alien_store.cc
src/crimson/os/alienstore/alien_store.h
src/crimson/os/alienstore/thread_pool.cc
src/crimson/os/alienstore/thread_pool.h
src/test/crimson/test_alienstore_thread_pool.cc