CPC G06F 11/1435 (2013.01) [G06F 16/164 (2019.01); G06F 16/1727 (2019.01); G06F 16/1734 (2019.01)] | 20 Claims |
1. A method, comprising:
in response to a request to obtain a data layout associated with a file from a client device, communicating, by a system comprising a processor, extent list information to the client device, wherein the extent list information comprises a mapping of a group of blocks in a data store of a server to which the client device is able to write data associated with the file, a file offset associated with the file, and a filesystem block number associated with the file offset; and
subsequent to the client device writing the data to the group of blocks in the data store based on the extent list information, and in response to a disruption of service of the server that occurs before committing of the data layout to the data store or before communicating, to the client device, a notification of a successful committing of the data layout to the data store, recreating, by the system, the data layout based on metadata relating to the data layout and received from the client device, wherein the metadata comprises the file offset and the filesystem block number, and wherein the metadata is received from the client device after the disruption is resolved.
|