Skip to content

Commit ec4fb65

Browse files
Anil RuiaMsftBrettShirley
authored andcommitted
Do not load disk debugging information causing repl contention on some hardware
[Substrate:8fca226769e553a36464638de4ce1b5d94506142]
1 parent ff2d526 commit ec4fb65

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

dev/ese/src/os/osdisk.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3058,7 +3058,11 @@ ERR COSDisk::ErrInitDisk( __in_z const WCHAR * const wszDiskPathId, _In_ const D
30583058
NULL );
30593059

30603060
// Best effort (at least some of this will not work / load if not admin or system)
3061-
LoadDiskInfo_( wszDiskPath, dwDiskNumber );
3061+
// Disabling because of contention seen in repl because of repeated calls
3062+
// LoadDiskInfo_( wszDiskPath, dwDiskNumber );
3063+
SetSmartEseNoLoadFailed( eSmartLoadDiskOpenFailed, ERROR_CALL_NOT_IMPLEMENTED, m_osdi.m_szDiskModel, sizeof(m_osdi.m_szDiskModel) );
3064+
SetSmartEseNoLoadFailed( eSmartLoadDiskOpenFailed, ERROR_CALL_NOT_IMPLEMENTED, m_osdi.m_szDiskSerialNumber, sizeof(m_osdi.m_szDiskSerialNumber) );
3065+
OSStrCbCopyA( m_osdi.m_szDiskFirmwareRev, sizeof(m_osdi.m_szDiskFirmwareRev), "EseNoLo" );
30623066

30633067
m_eState = eOSDiskConnected;
30643068

0 commit comments

Comments
 (0)