US 12,086,409 B2
Optimizing data deletion in a storage system
Ganesh Sangle, Sunnyvale, CA (US); Chia-Chun Lin, Cupertino, CA (US); Prabir Paul, San Jose, CA (US); and Vijayan Satyamoorthy Srinivasa, San Jose, CA (US)
Assigned to Pure Storage, Inc., Santa Clara, CA (US)
Filed by Pure Storage, Inc., Mountain View, CA (US)
Filed on Aug. 31, 2022, as Appl. No. 17/900,282.
Prior Publication US 2024/0069729 A1, Feb. 29, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0608 (2013.01) [G06F 3/0653 (2013.01); G06F 3/0683 (2013.01); G06F 3/0652 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
detecting, by a storage management system, a command to delete data from a storage volume using a file system, the data stored on one or more blocks within a storage device associated with the storage volume;
monitoring, by the storage management system, a load metric associated with the storage volume, the load metric indicative of a dynamically changing operational load of the storage volume, wherein the monitoring the load metric comprises:
initiating an additional command for the storage device, the additional command having an expected time for completion,
detecting an actual time for completion of the additional command, and
comparing the actual time for completion of the additional command with the expected time for completion of the additional command; and
initiating, by the storage management system and based on the detecting the command and on the monitored load metric, a discard request for the storage device, the discard request commanding the storage device to indicate that the one or more blocks are free for use by the file system to store additional data or available to be reclaimed by a garbage collection process.