Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/bluestore: narrow lock scope for cache trim()
The cache trim() process can become be time consuming when the cache size is huge. Since it can be operated safely under its own internal mutex, we shall avoid to hold irrelevant locks when possible, which is good for performance. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
- Loading branch information