IP Library Granted Patent US 11,487,704
Granted Patent B2
US 11,487,704 · App. 16/883,159 · Granted Nov 1, 2022

Method, a device, and a computer program product for adjusting a storage space

Inventors: Jiang Tan (Chengdu, CN); Hao Wang (Chengdu, CN); Chaojun Zhao (Chengdu, CN); Hongyuan Zeng (Sichuan, CN); Yang Zhang (Chengdu, CN)
Assignee: EMC IP Holding Company LLC
G06F16/122G06F3/0607G06F3/067G06F3/0644G06F9/5016
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 11,487,704
App. No.
16/883,159
Granted
Nov 1, 2022
Kind
B2
Abstract

Techniques for adjusting storage space involve: receiving a request for adjusting available storage space of a user in a filesystem from a first size to a second size; determining whether to allow to adjust the available storage space based on the request; and in response to allowing to adjust the available storage space, adjusting the available storage space to the second size. Accordingly, not only operations that an administrator needs to perform for adjusting the available storage space of a user is reduced, but also a quick and correct response for a request from a user of adjusting the available storage space is guaranteed.

Claims (95)

1. A method for adjusting storage space, comprising:

receiving, by a processor, a request for adjusting available storage space of a user in a filesystem from a first size to a second size;

determining, by the processor, whether to allow to adjust the available storage space based on the request; and

in response to allowing to adjust the available storage space, adjusting, by the processor, the available storage space to the second size,

wherein adjusting the available storage space to the second size comprises:

obtaining a start time point for adjusting the available storage space from the request; and

adjusting the available storage space to the second size at the start time point, and

wherein determining whether to allow to adjust the available storage space comprises:

determining, based on whether adjusting the available storage space to the second size will cause the filesystem to become overloaded in terms of total storage space, whether to adjust the available storage space.

2. The method according to claim 1 , further comprising:

in response to determining that adjusting the available storage space to the second size would cause the filesystem to become overloaded in terms of total storage space, rejecting the request for the processor to adjust the available storage space.

3. The method according to claim 2 , further comprising:

sending a rejection message for the request.

4. The method according to claim 1 , further comprising:

obtaining an end time point for adjusting the available storage space from the request; and

adjusting the available storage space to the first size at the end time point.

5. The method of claim 4 , wherein adjusting the available storage space to the first size comprises:

in response to determining that the storage space occupied by the user in the filesystem at the end time point is less than or equal to the first size, adjusting the available storage space to the first size.

6. The method according to claim 1 , further comprising:

obtaining an end time point for adjusting the available storage space from the request; and

in response to determining that the storage space occupied by the user in the filesystem at the end time point is greater than the first size, performing at least one of the following:

adjusting the available storage space to a size of the storage space occupied by the user at the end time point; and

sending an indication that the storage space occupied by the user at the end time point is greater than the first size.

7. The method according to claim 6 , further comprising:

in response to determining that the storage space occupied by the user in the filesystem at a first time point after the end time point is greater than the first size, performing at least one of the following:

adjusting the available storage space to a size of the storage space occupied by the user at the first time point; and

sending an indication that the storage space occupied by the user at the first time point is greater than the first size.

8. The method according to claim 1 , further comprising:

obtaining an end time point for adjusting the available storage space and a third size from the request, the third size being different from the first size and the second size; and

adjusting the available storage space to the third size at the end time point.

9. The method of claim 1 , wherein adjusting the available storage space to the second size includes:

decreasing a second available storage space of a second user based on a difference between the second size and the first size; and

increasing the available storage space of the user to the second size.

10. A method for adjusting storage space in a filesystem, comprising:

receiving, by a processor, a request for adjusting available storage space of a user in a filesystem from a first size to a second size, wherein the available storage space is provided on at least one storage device in the filesystem;

determining, by the processor, whether to allow to adjust the available storage space based on the request; and

in response to allowing to adjust the available storage space, adjusting, by the processor, the available storage space to the second size,

wherein adjusting the available storage space to the second size

comprises:

obtaining a start time point for adjusting the available storage space from the request; and

adjusting the available storage space to the second size at the start time point,

obtaining an end time point for adjusting the available storage space from the request; and

in response to determining that the storage space occupied by the user in the filesystem at the end time point is greater than the first size, performing at least one of the following:

adjusting the available storage space to a size of the storage space occupied by the user at the end time point; and

sending an indication that the storage space occupied by the user at the end time point is greater than the first size.

11. A device for adjusting storage space, comprising:

at least one processing unit; and

at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the device to perform an act, the act comprising:

receiving a request for adjusting available storage space of a user in a filesystem from a first size to a second size;

determining whether to allow to adjust the available storage space based on the request; and

in response to allowing to adjust the available storage space, adjusting the available storage space to the second size,

wherein adjusting the available storage space to the second size

comprises:

obtaining a start time point for adjusting the available storage space from the request; and

adjusting the available storage space to the second size at the start time point, and

wherein determining whether to allow to adjust the available storage

space comprises:

determining, based on whether adjusting the available storage space to the second size will cause the filesystem to become overloaded in terms of total storage space, whether to adjust the available storage space.

12. The device according to claim 11 , wherein the acts further comprise:

in response to determining that adjusting the available storage space to the second size would cause the filesystem to become overloaded in terms of total storage space, rejecting the request for the processor to adjust the available storage space.

13. The device according to claim 12 , wherein the acts further comprise:

sending a rejection message for the request.

14. The device according to claim 11 , wherein the acts further comprise:

obtaining an end time point for adjusting the available storage space from the request; and

adjusting the available storage space to the first size at the end time point.

15. The device of claim 14 , wherein adjusting the available storage space to the first size comprises:

in response to determining that the storage space occupied by the user in the filesystem at the end time point is less than or equal to the first size, adjusting the available storage space to the first size.

16. The device according to claim 11 , wherein the acts further comprise:

obtaining an end time point for adjusting the available storage space from the request; and

in response to determining that the storage space occupied by the user in the filesystem at the end time point is greater than the first size, performing at least one of the following:

adjusting the available storage space to a size of the storage space occupied by the user at the end time point; and

sending an indication that the storage space occupied by the user at the end time point is greater than the first size.

17. The device according to claim 16 , wherein the acts further comprise:

in response to determining that the storage space occupied by the user in the filesystem at a first time point after the end time point is greater than the first size, performing at least one of the following:

adjusting the available storage space to a size of the storage space occupied by the user at the first time point; and

sending an indication that the storage space occupied by the user at the first time point is greater than the first size.

18. The device according to claim 11 , wherein the acts further comprise:

obtaining an end time point for adjusting the available storage space and a third size from the request, the third size being different from the first size and the second size; and

adjusting the available storage space to the third size at the end time point.

19. A computer program product having a non-transitory computer readable medium which stores a set of instructions to adjust storage space; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

receiving a request for adjusting available storage space of a user in a filesystem from a first size to a second size;

determining whether to permit adjustments to the available storage space based on the request; and

in response to permitting adjustments to the available storage space, adjusting the available storage space to the second size,

wherein adjusting the available storage space to the second size

comprises:

obtaining a start time point for adjusting the available storage space from the request; and

adjusting the available storage space to the second size at the start time point, and

wherein determining whether to allow to adjust the available storage space comprises:

determining, based on whether adjusting the available storage space to the second size will cause the filesystem to become overloaded in terms of total storage space, whether to adjust the available storage space.

20. The method of claim 9 , further comprising identifying a size of unoccupied storage space in the second available storage space,

wherein determining whether to allow to adjust the available storage space is further based on the size of unoccupied storage space in the second available storage space.

21. The method according to claim 10 , further comprising:

in response to determining that the storage space occupied by the user in the filesystem at a first time point after the end time point is greater than the first size, performing at least one of the following:

adjusting the available storage space to a size of the storage space occupied by the user at the first time point; and

sending an indication that the storage space occupied by the user at the first time point is greater than the first size.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053578/0183) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060332/0864 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053574/0221) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053573/0535) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0106 →
RELEASE OF SECURITY INTEREST AT REEL 053531 FRAME 0108 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0371 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053578/0183 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053573/0535 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053574/0221 →
SECURITY AGREEMENT Recorded Aug 18, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 053531/0108 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 17, 2020
From: ZHANG, YANG
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053510/0171 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 7, 2020
From: TAN, JIANG; WANG, HAO; ZHAO, CHAOJUN; ZENG, HONGYUAN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053430/0123 →