US 12,141,103 B2
File system metadata layout for append-only storage
Neeraj Kumar Singh, Seattle, WA (US); and Rajsekhar Das, Sammamish, WA (US)
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC, Redmond, WA (US)
Filed by MICROSOFT TECHNOLOGY LICENSING, LLC, Redmond, WA (US)
Filed on Jun. 20, 2022, as Appl. No. 17/844,624.
Prior Publication US 2023/0409536 A1, Dec. 21, 2023
Int. Cl. G06F 16/18 (2019.01); G06F 16/14 (2019.01)
CPC G06F 16/1805 (2019.01) [G06F 16/14 (2019.01)] 18 Claims
OG exemplary drawing
 
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.