Project

General

Profile

Actions

Feature #7191

closed

Replace Mutex to RWLock with fdcache_lock in FileStore

Added by Haomai Wang about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Now FileStore can't make full use of SSD because of poor parallelism, 4 OSD in the same SSD are recommended to achieve it.

Here I want to make some improvement to reduce consuming time per transaction and avoid lock block all threads.

fdcache_lock is a obvious block point and it can simply change to RWLock.

Actions #1

Updated by Haomai Wang about 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF