Distributed deletion of a file and directory hierarchy
First Claim
1. A method, comprising:
- receiving, at a storage system, a request to delete a directory and contents of the directory;
adding the directory to a first set, listed in a memory in the storage system;
operating on the first set, by examining each directory in the first set to identify subdirectories, adding each identified subdirectory to the first set as a directory, and adding each examined directory to a second set listed in the memory, responsive to the request to delete the directory and the contents of the directory;
deleting in a distributed manner across the storage system, contents of directories, and the directories, listed in the second set, responsive to the request to delete the directory and the contents of the directory; and
delaying for a time span, responsive to receiving the request, wherein the adding, the operating, and the deleting occur upon expiration of the time span, and wherein the contents of the directory are retrievable during the time span.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of distributed file deletion, performed by a storage system, is provided. The method includes receiving, at the storage system, a request to delete a directory and contents of the directory and adding the directory to a first set, listed in a memory in the storage system. The method includes operating on the first set, by examining each directory in the first set to identify subdirectories, adding each identified subdirectory to the first set as a directory, and adding each examined directory to a second set listed in the memory. The method includes deleting in a distributed manner across the storage system without concern for order, contents of directories, and the directories, listed in the second set.
281 Citations
20 Claims
-
1. A method, comprising:
-
receiving, at a storage system, a request to delete a directory and contents of the directory; adding the directory to a first set, listed in a memory in the storage system; operating on the first set, by examining each directory in the first set to identify subdirectories, adding each identified subdirectory to the first set as a directory, and adding each examined directory to a second set listed in the memory, responsive to the request to delete the directory and the contents of the directory; deleting in a distributed manner across the storage system, contents of directories, and the directories, listed in the second set, responsive to the request to delete the directory and the contents of the directory; and delaying for a time span, responsive to receiving the request, wherein the adding, the operating, and the deleting occur upon expiration of the time span, and wherein the contents of the directory are retrievable during the time span. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A tangible, non-transitory, computer-readable media having instructions thereupon which, when executed by a processor, cause the processor to perform a method comprising:
-
receiving, at the storage system, a request to delete a directory and contents of the directory; adding the directory to a first set, listed in a memory in the storage system; operating on the first set, by examining each directory in the first set to identify subdirectories, adding each identified subdirectory to the first set as a directory, and adding each examined directory to a second set listed in the memory, responsive to the request to delete the directory and the contents of the directory; deleting in a distributed manner across the storage system, contents of directories, and the directories, listed in the second set, responsive to the request to delete the directory and the contents of the directory; and delaying for a time span, responsive to receiving the request, wherein the adding, the operating, and the deleting occur upon expiration of the time span, and wherein the contents of the directory are retrievable during the time span. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A storage system, comprising:
-
storage memory; and a plurality of storage nodes, each having one or more processors, the plurality of storage nodes configurable to cooperate to perform a method comprising; receiving, at the storage system, a request to delete a directory and contents of the directory; adding the directory to a first set, listed in a memory in the storage system; operating on the first set, by examining each directory in the first set to identify subdirectories, adding each identified subdirectory to the first set as a directory, and adding each examined directory to a second set listed in the memory, responsive to the request to delete the directory and the contents of the directory; deleting in a distributed manner across the storage system, contents of directories, and the directories, listed in the second set, responsive to the request to delete the directory and the contents of the directory; and delaying for a time span, responsive to receiving the request, wherein the adding, the operating, and the deleting occur upon expiration of the time span, and wherein the contents of the directory are retrievable during the time span. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification