Storing directory metadata in a dispersed storage network
First Claim
1. A method for updating directory information in a distributed storage network (DSN) memory, comprises:
- dispersed storage error encoding data to produce a plurality of sets of encoded data slices;
transmitting the plurality of sets of encoded data slices to the DSN memory for storing the plurality of sets of encoded data slices;
determining to update directory metadata stored in a local cache memory in response to storing the plurality of sets of encoded data slices in the DSN memory;
updating the directory metadata stored in the local cache memory;
determining to synchronize the directory metadata stored in the local cache memory with directory information stored in the DSN memory;
in response to determining to synchronize the directory metadata, dispersed storage error encoding the directory metadata to produce a plurality of sets of encoded directory metadata slices; and
transmitting the plurality of sets of encoded directory metadata slices to the DSN memory for storing the plurality of sets of encoded directory metadata slices with the directory information stored in the DSN memory.
4 Assignments
0 Petitions
Accused Products
Abstract
A method begins by a processing module dispersed storage error encoding data to produce encoded data slices and updating directory metadata regarding storing the data in a dispersed storage network (DSN) memory to produce updated directory metadata. The method continues with the processing module dispersed storage error encoding the updated directory metadata to produce encoded directory metadata slices and transmitting one or more data slice write requests to the DSN that each include a first transaction number. The method continues with the processing module transmitting one or more directory metadata write requests to the DSN memory, wherein the one or more directory metadata write requests includes a second transaction number, and when a favorable write response condition exists, transmitting a commit request to the DSN memory to commit storage of at least one of: the encoded data slices and the encoded directory metadata slices.
66 Citations
19 Claims
-
1. A method for updating directory information in a distributed storage network (DSN) memory, comprises:
-
dispersed storage error encoding data to produce a plurality of sets of encoded data slices; transmitting the plurality of sets of encoded data slices to the DSN memory for storing the plurality of sets of encoded data slices; determining to update directory metadata stored in a local cache memory in response to storing the plurality of sets of encoded data slices in the DSN memory; updating the directory metadata stored in the local cache memory; determining to synchronize the directory metadata stored in the local cache memory with directory information stored in the DSN memory; in response to determining to synchronize the directory metadata, dispersed storage error encoding the directory metadata to produce a plurality of sets of encoded directory metadata slices; and transmitting the plurality of sets of encoded directory metadata slices to the DSN memory for storing the plurality of sets of encoded directory metadata slices with the directory information stored in the DSN memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A dispersed storage (DS) device, comprises:
-
at least one local memory, wherein the local memory stores directory metadata; and one or more processing modules that include at least one processing device, operable to; retrieve directory metadata from the local memory and directory information from a dispersed storage network (DSN) memory; determine directory metadata updates to the directory metadata in the local memory based on the directory information from the DSN memory; update the directory metadata in the local memory using the directory metadata updates; determine to synchronize the directory metadata in the local memory with the directory information in the DSN memory; dispersed storage error encode a portion of the directory metadata to produce a plurality of sets of encoded directory metadata slices; and transmit the plurality of sets of encoded directory metadata slices to the DSN memory for storing the plurality of sets of encoded directory metadata slices with the directory information stored in the DSN memory. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A dispersed storage (DS) device, comprises:
-
at least one memory; one or more processing modules that include at least one processing device, operable to; receive an add snapshot request, wherein the add snapshot request includes information to identify a child snapshot, an associated parent snapshot and a snapshot file; retrieve a plurality of encoded snapshot file slices from dispersed a storage network (DSN) memory; dispersed storage error decode the plurality of encoded snapshot file slices to recover the snapshot file, wherein the snapshot file indicates files authorized for access; and modify the snapshot file to associate the child snapshot with the associated parent snapshot and create a timestamp indicating a time of modification. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification