Module file_truncator
swap
0.1.0
Module file_truncator
Structs
Constants
Functions
In crate swap
Modules
controller
file
file_truncator
page_handler
pagesize
present_list
processes
staging
uffd_list
userfaultfd
worker
Structs
SwapController
SwapDeviceHelper
SwapDeviceUffdSender
SwapMetrics
SwapStateTransition
SwapStatus
Enums
SwapState
Traits
PrepareFork
?
Settings
Module
swap
::
file_truncator
Copy item path
source
·
[
−
]
Structs
§
FileTruncator
Truncates a file to length 0, in the background when possible.
Constants
§
TRUNCATE_INTERVAL
🔒
TRUNCATE_STEP_BYTES
🔒
Functions
§
truncate_worker
🔒