| CPC G06F 16/1805 (2019.01) [G06F 16/14 (2019.01)] | 18 Claims |

|
1. A method for enabling file system software support for storing file metadata in an append-only zoned storage device, the method comprising:
receiving, by a processing system, a file system metadata structure for writing to the append-only zoned storage device, the file system metadata structure containing the file metadata and a plurality of nodes that organizes the file metadata;
determining that a quantity of data within the file system metadata structure meets or exceeds a threshold quantity of data; and
in response to determining that the quantity of data within the file system metadata structure meets or exceeds the threshold quantity of data:
arranging the file metadata and the plurality of nodes within a write buffer such that the file metadata is appended to the append-only zoned storage device prior to the plurality of nodes;
appending the file metadata to a zone within the append-only zoned storage device using the write buffer;
retrieving an offset of the file metadata within the zone relative to a starting position of the zone;
generating a relative reference for each node of the plurality of nodes by configuring each node of the plurality of nodes in the write buffer with the offset of the file metadata; and
appending each node of the plurality of nodes to the zone within the append-only zoned storage device using the write buffer, wherein the appending generates a file metadata layout that is compatible with the append-only zoned storage device.
|