US 12,443,445 B2
Systems and methods for managing storage space
Yanor Barros, Jerusalem (IL); Dror Kronstein, Nataf (IL); and Vladislav Zhalkin, Rishon Lezion (IL)
Assigned to MOBILEYE VISION TECHNOLOGIES LTD., Jerusalem (IL)
Appl. No. 17/755,064
Filed by MOBILEYE VISION TECHNOLOGIES LTD., Jerusalem (IL)
PCT Filed Oct. 23, 2020, PCT No. PCT/IB2020/000896
§ 371(c)(1), (2) Date Apr. 20, 2022,
PCT Pub. No. WO2021/079191, PCT Pub. Date Apr. 29, 2021.
Claims priority of provisional application 62/925,385, filed on Oct. 24, 2019.
Prior Publication US 2022/0382588 A1, Dec. 1, 2022
Int. Cl. G06F 9/50 (2006.01); G06F 16/188 (2019.01)
CPC G06F 9/5016 (2013.01) [G06F 9/5077 (2013.01); G06F 16/188 (2019.01)] 27 Claims
OG exemplary drawing
 
1. A system for managing storage space for a computer, the system comprising:
at least one processor programmed to:
determine a first maximum data space for a first computing task and a second maximum data space for a second computing task, the second computing task being different from the first computing task, and the second maximum data space being different from the first maximum data space;
create a first file having a first maximum size equal to or greater than the first maximum data space and a second file having a second maximum size equal to or greater than the second maximum data space;
create a first virtual device linked to the first file and a second virtual device linked to the second file, the second virtual device being different from the first virtual device;
mount a first filesystem inside the first virtual device and a second filesystem inside the second virtual device;
mount the first virtual device and the second virtual device;
determine that the first computing task and the second computing task are completed; and
unmount the first virtual device and the second virtual device,
wherein the at least one processor is further programmed to, after the first computing task and the second computing task are completed, close a first file descriptor associated with the first file and a second file descriptor associated with the second file to release data space associated with the first computing task and the second computing task,
wherein creating the first virtual device and the second virtual device comprise creating the first virtual device in a first container and creating the second virtual device in a second container, and
wherein the at least one processor is further programmed to run the first computing task in the first container and the second computing task in the second container.