Patent ID: 8959227
Filing Date: 2015-02-17
Classification: G06F

Abstract:
1. A method comprising: tracking cluster storage units for a clustered file system of a cluster that implements redirect-on-write snapshotting as free, in-flight, or committed, wherein the cluster storage units comprise logical units of aggregate storage space of storage devices of the cluster; indicating a first set of the cluster storage units as free because the first set of cluster storage units are available for allocation to nodes of the cluster; receiving a request for cluster storage units from a client node; in response to said receiving the request for cluster storage units from the client node, receiving, from the client node, second indications of the first set of the cluster storage units, checksums corresponding to the first set of the cluster storage units, and an indication of a fileset, wherein receiving the second indications of the first set of the cluster storage units and the checksums corresponding to the first set of the cluster storage unit indicates that the client node has written data to the first set of the cluster storage units; in response to said receiving, from the client node, the second indications of the first set of the cluster storage units and checksums corresponding to the first set of the cluster storage units, writing the second indications of the first set of the cluster storage units and the checksums corresponding to the first set of the cluster storage units to a location in metadata for the clustered file system corresponding to the fileset; if a failure does not interrupt a writing of the indications of the first set of the cluster storage units and the checksums corresponding to the first set of the cluster storage units to a location in metadata for the clustered file system corresponding to the fileset, then transitioning the first set of the cluster storage units to committed; and if a failure interrupts a writing of the indications of the first set of the cluster storage units and the checksums corresponding to the first set of the cluster storage units to a location in metadata for the clustered file system corresponding to the fileset, then returning the first set of the cluster storage units to free.