United States Patent  [ii] Patent Number: 5,802,599
Cabrera et al.  Date of Patent: Sep. 1, 1998
 SYSTEM AND METHOD FOR ALLOCATING STORAGE IN A FRAGMENTED STORAGE SPACE
 Inventors: Luis Felipe Cabrera; Robert M. Rees, both of San Jose, Calif.
 Assignee: International Business Machines
Corporation, Armonk, N.Y.
 Appl. No.: 688,065
 Filed: Jul. 30,1996
Related UJS. Application Data
 Continuation of Ser. No. 193,323, Feb. 8,1994, abandoned.
 Int O.6 G06F 12/06; G06F 13/00
 U.S. CI 711/170; 364/DIG. 1;
364/DIG. 2; 364/246; 295/621; 295/622;
 Field of Search 364/DIG. 1, DIG. 2,
364/246; 395/427, 497.01, 474, 621, 622;
 References Cited
U.S. PATENT DOCUMENTS
4,758,944 7/1988 Barueyetal 395/425
5,034,914 7/1991 Ostedimd 395/425
5,155,830 10/1992 Knrasbige 395/844
5,276,840 1/1994 Yu 395/855
5375,233 12/1994 Ember etal 395/600
5384,669 1/1995 Donnetal 360/48
5,394,534 2/1995 Kalakowski 395/439
5,454,103 9/1995 Coverston et al 395/600
5,479,656 12/1995 Rawlimgs 395/497.02
Method for Allocating Computer Disk Space to a File of Known Size, IBM Technical Disclosure Bulletin vol. 27 No. 10B Mar. 1985, R. M. Bryant and P. A. Franaszek. M. G. Baker et al, "Measurements of a Distributed File System", Proceedings of (he 13th SOSP, Nov. 1987, pp. 198-211.
R. van Renesse et al, "The Design of a High-Performance File Server", Proceedings of the 9th International Conference on Distributed Data Systems, IEEE, (1989), pp. 22-27.
R. Hagmann. "Reimplementing the Cedar File System Using Logging and Group Commit", Proceedings of the 11th SOSP, Operating Systems Review, vol. 17, pp. 155-162.
M. D. Schroeder et al, "A Caching File system For a Programmer's Workstation", Proceedings of the 10th SOSP, Orcas Island, Washington, 1985, pp. 25-34.
M. N. Nelson et al, "Caching in the Sprite Network File System", ACM Transactions on Computers, Feb. 1988, pp. 134-154.
M. E. Powell, "The Demos File System", Proceedings of the 6th SOSP, Operating Systems Review, vol. 11, No. 5, Nov. 1977, pp. 33-42.
M. McKusick et al., "A Fast File system for UNIX", ACM Transactions on Computer Systems, vol. 2, No. 3, Aug. 1984, pp. 181-197.
Primary Examiner—-Tod R. Swann
Assistant Examiner—Tana V. Thai
Attorney, Agent, or Firm—Esther E. Klein
This invention provides a one-pass storage process to manage storage space in a storage hierarchy system wherein whole objects or fragments of whole objects can be retrieved efficiently. Metadata to represent appropriate geometric characteristics of storage devices, units of transfer to minimize retrieval tune, and buffers, are used to control the storage allocation. A plurality of objects from an object set are aggregated into at least one object grouping for storage where the object grouping is smaller than a minimum storage size. For each object grouping and each object not in an object grouping, a determination is made of the total number of blocks of storage needed and a minimum transfer size. Extents of blocks are identified in the storage device of a size greater than the minimum transfer size totalling the total number of blocks of storage needed.
15 Claims, 4 Drawing Sheets