Nelson and Nelson
Space reclamation in space-efficient secondary volumes
A method for releasing storage space in a space-efficient secondary volume includes placing a first lock on a free-space data structure stored on the space-efficient secondary volume. The method reads a copy of the free-space data structure into memory while the first lock is in place, and releases the first lock. The method then analyzes the copy to determine which storage elements in the space-efficient secondary volume are not being used. The method then places a second lock on the free-space data structure and, while the second lock is in place, analyzes the free-space data structure to determine which storage elements had their usage status change during analysis of the copy. The method then releases storage elements in the space-efficient secondary volume that are not being used and releases the second lock. A corresponding system and computer program product are also disclosed.
International Business Machines Corporation
G G G
G06F G06F G06F
additional additional inventional
David C. Theresa M. Gregory E. Carol S.
Reed Brown McBride Mellgren