Storage space organization method and electronic device
AssigneeHonor Device Co., Ltd.
InventorsDachen Jin, Jian Dang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHonor Device Co., Ltd.
InventorsDachen Jin, Jian Dang
Estimating the term…
This application discloses a storage space organization method and an electronic device. A kernel of the electronic device includes a file system and a block layer, and the method includes: monitoring, by the electronic device, input/output ports IOs through the block layer, and determining, by the block layer when there is IO release, whether all the IOs have been released; and updating, by the electronic device when all the IOs have been released, a state of the file system to an idle state through the block layer, to trigger the electronic device to perform first garbage collection processing through the file system, where the state of the file system includes the idle state and a busy state.
1-10. (canceled)
A storage space organization method, wherein the method is applied to an electronic device, a kernel of the electronic device comprises a file system and a block layer, and the method comprises:
An electronic device, comprising:
A non-transitory computer-readable storage medium, comprising instructions, wherein when the instructions are run on an electronic device, the electronic device is enabled to perform:
Dependencies are inferred from the claim text.