Refactor Mount and Unmount to only acquire one lock at a time.
Mount was calling into FPakPlatformFile::GetPakSignatureFile() and acquiring PakSignatureFileCacheLock before calling CreateFileReader() which ends up acquiring PakListCritical in FPakPlatformFile::GetMountedPaks().
Unmount was acquiring PakListCritical first and then calling into FPakPlatformFile::RemoveCachedPakSignaturesFile() and acquiring PakSignatureFileCacheLock.
#rb carlmagnus.nordin
#rnx
#preflight 638713b84004f73f6219fda9
[CL 23325188 by pj kack in ue5-main branch]
#rb Josh.Adams
#preflight 6238d7c910251d53d5636a1b
#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 19465146 via CL 19465653 via CL 19466852 via CL 19475582 via CL 19475844
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v935-19464907)
[CL 19476451 by dave belanger in ue5-main branch]
Added additional check and error message that triggers when a pak file is mounted with a mount point that is not mounted to any root directory
#rb Matt.Peters
#jira none
#preflight 61f803fa114ec25fe0a22fa0
#ROBOMERGE-AUTHOR: sebastian.thomeczek
#ROBOMERGE-SOURCE: CL 18792180 in //UE5/Release-5.0/... via CL 18792252 via CL 18792985
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18793152 by sebastian thomeczek in ue5-main branch]
- added VeryVerbose message when access to any file from ExcludedNonPakExtensions is prevented
- Introduced new Display message to print mounted pak file name and mount point, moved the corresponding logs that were already printing that information from the shadercodelibrary to verbose
- Moved most FPakReadRequest messages to VeryVerbose
- Moved PrimaryIndexSize PathHashIndexSize and FullDirectoryIndeSize to Verbose
- Moved OnPakFileMounted2Time to Verbose
#rb Matt.Peters, PJ.Kack
#jira none
#preflight 61f00f308c16f837224ada89
#ROBOMERGE-AUTHOR: sebastian.thomeczek
#ROBOMERGE-SOURCE: CL 18722494 in //UE5/Release-5.0/... via CL 18722496 via CL 18722552
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18722570 by sebastian thomeczek in ue5-main branch]
- Added additional check and error message that triggers when a pak file is mounted with a mount point that is not mounted to any root directory
- added VeryVerbose message when access to any file from ExcludedNonPakExtensions is prevented
- Introduced now Display message to print mounted pak file name and mount point, moved the corresponding logs that were already printing that information from the shadercodelibrary to verbose
- Moved most FPakReadRequest messages to VeryVerbose
- Moved PrimaryIndexSize PathHashIndexSize and FullDirectoryIndeSize to Verbose
- Moved OnPakFileMounted2Time to Verbose
#rb Matt.Peters, PJ.Kack
#jira none
#preflight 61dd8d95676009ad46512283
#ROBOMERGE-AUTHOR: sebastian.thomeczek
#ROBOMERGE-SOURCE: CL 18571612 in //UE5/Release-5.0/... via CL 18571622
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)
[CL 18571623 by sebastian thomeczek in ue5-release-engine-test branch]