mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
use all the available nr_requests for NVMe (#18920)
This commit is contained in:
@@ -47,7 +47,7 @@ type mrfState struct {
|
||||
ctx context.Context
|
||||
pools *erasureServerPools
|
||||
|
||||
mu sync.Mutex
|
||||
mu sync.RWMutex
|
||||
opCh chan partialOperation
|
||||
}
|
||||
|
||||
@@ -72,6 +72,9 @@ func (m *mrfState) addPartialOp(op partialOperation) {
|
||||
return
|
||||
}
|
||||
|
||||
m.mu.RLock()
|
||||
defer m.mu.RUnlock()
|
||||
|
||||
select {
|
||||
case m.opCh <- op:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user