Storage data migration method and device
A technology for storing data and data, applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve the problems that affect the efficiency of data writing operations, there is no special priority queuing method, and the writing operation cannot be performed in time. To achieve the effect of reducing the suspension lock time and improving the product experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] Such as figure 1 As shown, the present invention adds a "lock timer module" to all small data blocks pg that need to be migrated. This module records whether the current data block is locked, and if locked, how long it has been currently locked. When migrating, those small data blocks pg that are locked are migrated first, so that these small data blocks pg can be unlocked as soon as possible and can be written.
[0024] Therefore, the present invention provides a method for storage data migration, such as figure 1 shown, including the following steps:
[0025] S11. The data client writes data to the ceph distributed storage system, and the ceph distributed storage system divides the data into several small data blocks, and dispersely stores the small data blocks on each storage device;
[0026] S12. When it is necessary to migrate small data blocks, that is, to migrate all small data blocks on a certain storage device to other storage devices, it is necessary to lock...
Embodiment 2
[0033] This embodiment provides a storage data migration device on the basis of Embodiment 1, such as figure 2 As shown, including data client, ceph distributed storage system, locking module, locking timer module and unlocking module, described ceph distributed storage system includes several storage devices;
[0034] The data client is used to read and write data to the ceph distributed storage system;
[0035] The ceph distributed storage system is used to divide data into several small data blocks, and store the small data blocks scattered on each storage device;
[0036] The locking module is used for: when the small data block needs to be migrated, the locking module locks the small data block so that it can only be read but not written;
[0037] Described locking timer module is used for: For each locked small data block, calculates the locking time of small data block, and sorts small data block according to locking time from big to small, then lock timer priority lo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com