×

GARBAGE COLLECTION PROGRAM, GARBAGE COLLECTION METHOD, AND GARBAGE COLLECTION SYSTEM

  • US 20110113075A1
  • Filed: 01/07/2011
  • Published: 05/12/2011
  • Est. Priority Date: 08/11/2008
  • Status: Abandoned Application
First Claim
Patent Images

1. A non-transitory, computer-readable storage medium storing a garbage collection program allowing a computer to execute:

  • copying valid data from a first block in a first storage device that stores both valid data and invalid data to a second storage device different from the first storage device, data stored in the first storage device is deleted in a unit of block;

    instructing an exclusive unit to perform exclusive control of accessing to the valid data in the first block;

    switching, after the exclusive control is performed, an access path to the valid data in the first storage device to an access path to the valid data copied to the second storage device;

    instructing, after the access path is switched to the access path to the valid data copied to the second storage device, the exclusive unit to release the exclusive control of accessing to the valid data in the first block when;

    copying the valid data in the second storage device to a second block in the first storage device that is different from the first block to collect the valid data into the second block;

    instructing the exclusive unit to perform exclusive control of accessing to the valid data in the second storage device;

    switching, after the exclusive control is performed, an access path to the valid data in the second storage device to an access path to the valid data copied to the second block; and

    instructing, after an access path is switched to the access path to the valid data copied to the second storage device, the exclusive unit to release the exclusive control of accessing the valid data in the second storage device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×