IP Library Granted Patent US 10,599,613
Granted Patent B2
US 10,599,613 · App. 15/787,843 · Granted Mar 24, 2020

Index management in storage system

Inventors: Shuo Feng (Beijing, CN); Zi Qiang Gu (Beijing, CN); Zhi Hong Ma (Beijing, CN); Zhiyong Tian (Beijing, CN); Yan Zhang (Beijing, CN); Jia Wei Zhou (Beijing, CN)
Assignee: International Business Machines Corporation
G06F16/13
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,599,613
App. No.
15/787,843
Granted
Mar 24, 2020
Kind
B2
Abstract

Embodiments of the present disclosure relate to methods, systems, and computer program products for storage management. In one embodiment, a computer-implemented method is disclosed. According to the method, in response to receiving a request related to managing the at least one directory entry in the file system, at least one directory entry in a file system may be determined by a file system in a storage system, where each of the at least one directory entry is represented by digital numbers. An index for each of the at least one directory entry may be managed in the file system by the file system, where an index key for the index comprises the digital numbers themselves. In other embodiments, a computer-implemented system and a computer program product for managing the index are disclosed.

Claims (38)

1. A computer-implemented method, comprising:

determining, by a file system in a storage system, at least one directory entry in a file system in response to receiving a request related to managing the at least one directory entry in the file system, wherein each of the at least one directory entries is represented by digital numbers;

managing, by the file system, an index for each of the at least one directory entries in the file system, wherein an index key for the index comprises the digital numbers themselves;

creating a directory in response to a received request to manage a directory entry of the at least one directory entry in the file system, wherein the directory entry is represented by a digital number;

creating a directory name for the directory, the directory name includes the digital number representing the directory entry; and

creating an index for the directory, the index including the digital number associated with the directory name and the directory entry; the digital number of the index being directly used as an index key for the created index; the digital number of the index key matching the digital number of the directory name for facilitating querying the index.

2. The method of claim 1 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: creating, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to creating the at least one directory entry.

3. The method of claim 1 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: reading, by the file system, an index for each of the at least one directory entries, in the file system in response to the request being a request related to reading the at least one directory entry.

4. The method of claim 1 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: updating, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to updating the at least one directory entry.

5. The method of claim 1 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: deleting, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to deleting the at least one directory entry.

6. The method of claim 1 , further comprising:

indicating by a flag that the at least one directory entry is represented by digital numbers.

7. The method of claim 6 , wherein the flag comprises information about the type of the digital numbers.

8. A system, comprising:

a computer system comprising: a computer processor, a computer-readable storage medium, and program instructions stored on the computer-readable storage medium being executable by the processor, to cause the computer system to perform a method, comprising:

determining, by a file system in a storage system, at least one directory entry in a file system in response to receiving a request related to managing the at least one directory entry in the file system, wherein each of the at least one directory entries is represented by digital numbers;

managing, by the file system, an index for each of the at least one directory entries in the file system, wherein an index key for the index comprises the digital numbers themselves;

creating a directory in response to a received request to manage a directory entry of the at least one directory entry in the file system, wherein the directory entry is represented by a digital number;

creating a directory name for the directory, the directory name includes the digital number representing the directory entry; and

creating an index for the directory, the index including the digital number associated with the directory name and directory entry; the digital number of the index being directly used as an index key for the created index; the digital number of the index key matching the digital number of the directory name for facilitating querying the index.

9. The system of claim 8 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: creating, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to creating the at least one directory entry.

10. The system of claim 8 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: reading, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to reading the at least one directory entry.

11. The system of claim 8 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: updating, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to updating the at least one directory entry.

12. The system of claim 8 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: deleting, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to deleting the at least one directory entry.

13. The system of claim 8 , further comprising:

indicating by a flag that the at least one directory entry is represented by digital numbers.

14. The system of claim 13 , wherein the flag comprises information about the type of the digital numbers.

15. A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer to cause the computer to perform a method, comprising:

determining, by a file system in a storage system, at least one directory entry in a file system in response to receiving a request related to managing the at least one directory entry in the file system, wherein each of the at least one directory entries is represented by digital numbers;

managing, by the file system, an index for each of the at least one directory entries, in the file system, wherein an index key for the index comprises the digital numbers themselves;

creating a directory in response to a received request to manage a directory entry of the at least one directory entry in the file system, wherein the directory entry is represented by a digital number;

creating a directory name for the directory, the directory name includes the digital number representing the directory entry; and

creating an index for the directory, the index including the digital number associated with the directory name and directory entry; the digital number of the index being directly used as an index key for the created index; the digital number of the index key matching the digital number of the directory name for facilitating querying the index.

16. The computer program product of claim 15 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: creating, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to creating the at least one directory entry.

17. The computer program product of claim 15 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: reading, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to reading the at least one directory entry.

18. The computer program product of claim 15 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: updating, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to updating the at least one directory entry.

19. The computer program product of claim 15 , wherein managing, by the file system, an index for each of the at least one directory entries in the file system comprises: deleting, by the file system, an index for each of the at least one directory entries in the file system in response to the request being a request related to deleting the at least one directory entry.

20. The computer program product of claim 15 , further comprising: indicating by a flag that the at least one directory entry is represented by digital numbers.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 19, 2017
From: FENG, SHUO; GU, ZI QIANG; MA, ZHI HONG; TIAN, ZHIYONG; ZHANG, YAN; ZHOU, JIA WEI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 044414/0643 →
Continuity (1)
Related Publication 20190121872A1 · Apr 25, 2019
Cited By (2)
US 12,499,085 US 12,585,621