luo_file_unfreeze(9)
π luo_file_unfreeze(9) β Kernel API Manual β¨
okay bestie, we're in the Kernel API Manual and this page is all about luo_file_unfreeze. No cap, it's the cleanup bestie for when a freeze has to be aborted.
β¨ NAME β¨
luo_file_unfreeze β unfreezes all files in a file_set and clear serialization π
πΈ SYNOPSIS πΈ
void luo_file_unfreeze (struct luo_file_set *file_set , struct
luo_file_set_ser *file_set_ser );
π ARGUMENTS π
file_setβ thefile_setwhose files are to be unfrozen. It's giving "these are the files we're rescuing from the freeze vibe" π«Άfile_set_serβ serializedfile_set. The serialized one, periodt.
π DESCRIPTION π
This function rolls back the state of all files in a file_set after the freeze phase has begun but must be aborted. It's literally the counterpart to luo_file_freeze. Think "we started freezing, nope, abort, put it back" energy π₯
It invokes the __luo_file_unfreeze helper with a NULL argument, and that NULL signals the helper to iterate through all files in the file_set and call their respective .unfreeze handler callbacks. The way it just loops through and calls every .unfreeze callback is highkey iconic, ngl π
π¦ CONTEXT π¦
This is called when the live update is aborted during the reboot syscall, after luo_file_freeze has been called. So yeah: freeze already happened, live update got aborted in the reboot syscall, and this is the unfreeze cleanup moment β
π₯ SEE ALSO π₯
- Kernel file
./kernel/liveupdate/luo_file.c LUO File Descriptors(9)struct luo_file(9)luo_preserve_file(9)luo_file_unpreserve_files(9)luo_file_freeze(9)luo_retrieve_file(9)luo_file_finish(9)luo_file_deserialize(9)liveupdate_register_file_handler(9)liveupdate_unregister_file_handler(9)
Signed off from ./kernel/liveupdate, dated October 2026 β stay unfrozen, bestie π§ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms