Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 12c5ded287fc142380b0f9efab3b6ac47c2d1067
      
https://github.com/tianocore/edk2/commit/12c5ded287fc142380b0f9efab3b6ac47c2d1067
  Author: Chris Fernald <[email protected]>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M FatPkg/EnhancedFatDxe/Fat.h
    M FatPkg/EnhancedFatDxe/Fat.inf
    M FatPkg/EnhancedFatDxe/Flush.c
    M FatPkg/EnhancedFatDxe/Init.c
    M FatPkg/EnhancedFatDxe/Misc.c

  Log Message:
  -----------
  FatPkg: Clean any volume caches during exit boot services

The current implementation assumes the the caller will perform the
necessary cleanup before exiting boot services. This has been observed
to drop some cached file writes that occur even before the application
calling exit boot services is launched.

This commit adds a per-volume pre-ExitBootServices event to flush any
dirty caches and perform other cleanup the volume to ensure all write
data is persisted and consistent. After the flush, caching will be
disabled for the volume in the future to ensure that all subsequent
access persists.

Signed-off-by: Chris Fernald <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to