×

Method for moving data extent

  • US 10,599,358 B2
  • Filed: 06/27/2018
  • Issued: 03/24/2020
  • Est. Priority Date: 06/19/2018
  • Status: Active Grant
First Claim
Patent Images

1. A computer program stored in a computer-readable storage medium, wherein the computer program executes a method for moving an extent when the computer program is executed by one or more processors of a computing device, the method comprising:

  • deciding, by the one or more processors, movement of an extent stored in a first disk in a disk space in which the disk space includes at least two disks;

    determining, by the one or more processors, that there is a writing work for the extent when there is a transaction sequence number of a worker thread less than or equal to a transaction sequence number of the extent mapping information by comparing the transaction sequence number of the extent mapping information and the transaction sequence number of the worker thread;

    switching, by the one or more processors, the worker thread performing the writing work for the extent to a sleep state when there is the writing work for the extent;

    changing, by the one or more processors, a state of the extent to read-only in the extent mapping information when there is no writing work for the extent;

    moving, by the one or more processors, the extent positioned in the first disk to a second disk; and

    updating, by the one or more processors, the extent mapping information based on completion of the movement of the extent.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×