mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
mrf: Avoid rare data race and more simplification (#12791)
This change avoids a rare data race and simplify the function that returns MRF last activity information.
This commit is contained in:
@@ -293,7 +293,7 @@ var (
|
||||
globalBackgroundHealRoutine *healRoutine
|
||||
globalBackgroundHealState *allHealState
|
||||
|
||||
globalMRFState *mrfState
|
||||
globalMRFState mrfState
|
||||
|
||||
// If writes to FS backend should be O_SYNC.
|
||||
globalFSOSync bool
|
||||
|
||||
Reference in New Issue
Block a user