CPC G06F 16/178 (2019.01) [G06F 16/1727 (2019.01); G06F 16/1774 (2019.01); G06F 16/188 (2019.01)] | 20 Claims |
1. A method of synchronously executing input/output operations (IOs) issued by a plurality of virtual computing instances to a file system implemented by one or more storage devices, the method comprising:
detecting a first write IO issued by one of the virtual computing instances, wherein the first write IO includes an instruction to write first data at a first address of a file data block of a file of the file system;
determining by checking metadata of a pointer block of the file that points to the file data block, that a first address range of the file system comprising the first address is locked so as to prevent any pending unmap IOs issued by the virtual computing instances from deallocating storage space of the one or more storage devices mapped to addresses of file data blocks within the first address range; and
in response to determining that the first address range is locked, writing the first data to the one or more storage devices at the first address while the first address range is locked.
|