Method for deleting objects from library resident optical disks by accumulating pending delete requests
First Claim
1. In an information processing system, a machine-executed method of deleting objects from a volume, said machine-executed method comprising the steps of:
- receiving a delete request for deleting an object from a first volume;
writing the delete request to a deleted objects table such that the delete request is added to a list of pending deletes for the first volume;
logically deleting the space associated with the delete request;
receiving a write request for the first volume;
mounting the first volume on a drive if the first volume is not already mounted;
determining whether said volume has expired; and
if all of the objects on said volume have expired;
deleting a list of pending deletes for said volume;
checking the expired status of an optical disk containing said volume when said volume is mounted; and
deleting all of the objects on the disk by reformatting the disk if the expired status is set;
if all of the objects on the volume have not expired;
deleting all of the objects on the first volume that are listed in the list of pending deletes;
adding logically deleted space of the first volume to current free space of the first volume; and
performing the write request.
1 Assignment
0 Petitions
Accused Products
Abstract
The response time of an automated optical disk library is improved by writing object delete requests to a deleted objects table before actually physically deleting those objects. By collecting object delete requests in a list of pending deletes for each volume in the library the number of necessary mounts are reduced. The delete requests in a list of pending deletes for a given volume are physically deleted just prior to performing a write or defrag request for that volume. The list of pending deletes for that volume are then deleted from the deleted objects table. During idle periods a predetermined number of pending delete requests will be performed for the currently mounted volume. If there are no pending delete requests for the currently mounted volume then a predetermined number of pending delete requests will be performed on the opposite side of the currently mounted volume. When all pending delete requests for both the currently mounted volume and the opposite side thereof have been completed the library-resident volume having the greatest amount of space to be deleted will be mounted and a predetermined number of pending deletes will be performed on that volume. This process continues as long as there are pending deletes. If all of the objects on an optical disk have expired then the next time that disk is mounted it will be reformatted.
50 Citations
8 Claims
-
1. In an information processing system, a machine-executed method of deleting objects from a volume, said machine-executed method comprising the steps of:
-
receiving a delete request for deleting an object from a first volume; writing the delete request to a deleted objects table such that the delete request is added to a list of pending deletes for the first volume; logically deleting the space associated with the delete request; receiving a write request for the first volume; mounting the first volume on a drive if the first volume is not already mounted; determining whether said volume has expired; and
if all of the objects on said volume have expired;deleting a list of pending deletes for said volume; checking the expired status of an optical disk containing said volume when said volume is mounted; and deleting all of the objects on the disk by reformatting the disk if the expired status is set; if all of the objects on the volume have not expired; deleting all of the objects on the first volume that are listed in the list of pending deletes; adding logically deleted space of the first volume to current free space of the first volume; and performing the write request. - View Dependent Claims (2)
-
-
3. In an information processing system, a machine-executed method of deleting objects from a volume, said machine-executed method comprising the steps of:
-
receiving defragmentation request for a first volume; mounting the first volume on a drive if the first volume is not already mounted; determining whether said volume has expired; and
if all of the objects on said volume have expired;setting a volume empty status for said volume; deleting a list of pending deletes for said volume; checking the expired status of an optical disk containing said volume when said volume is mounted; and deleting all of the objects on the disk by reformatting the disk if the expired status is set; if all of the objects on said volume have not expired; deleting all of the objects listed in a list of pending deletes for the first volume; adding logically deleted space to current free space of the first volume; and defragmenting the first volume. - View Dependent Claims (4, 6, 7)
-
-
5. A computer process for deleting objects from volumes in an automated storage library wherein the objects to be deleted are logically but not physically deleted until a predetermined event occurs, said automated storage library having a plurality of storage media wherein each storage medium has at least one volume for storing the objects thereon, the computer process comprising the steps of:
-
receiving a delete request for deleting an object from a first volume; writing the delete request to a deleted objects table such that the delete request is added to alist of pending deletes for the first volume storing the object to be deleted, the space of the object being added to logically deleted space of the first volume; receiving a write request for the first volume; mounting the first volume if the first volume is not already mounted; determining whether all of the objects stored on a storage medium have expired; and if all of the objects on the storage medium have expired; setting an expired status of the storage medium; deleting a list of pending deletes for the storage medium; and reformatting the storage medium when the storage medium is mounted; if all of the objects on the storage medium have not expired; deleting all objects on the first volume that are listed in the list of pending deletes for the first volume; adding the logically deleted space to current free space of the first volume; and performing the write request. - View Dependent Claims (8)
-
Specification