IO data classification and deletion method and device and computer readable storage medium

A data classification and deletion method technology, applied in the field of data processing, can solve the problem of low efficiency of IO data cleaning

Active Publication Date: 2020-02-07
北京浪潮数据技术有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The method of cleaning IO data in the prior art is to search the HIO on the linked list according to the volume ID passed from the command line, and judge whether the found HIO belongs to the volume by its size. If it belongs to the volume, mark the H

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • IO data classification and deletion method and device and computer readable storage medium
  • IO data classification and deletion method and device and computer readable storage medium
  • IO data classification and deletion method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050]The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0052] Next, a method for classifying and deleting IO data provided by an embodiment of the present invention is introduced in detail. figure 1 A flow chart of a method for classifying and deleting IO...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an IO data classification deletion method and device and a computer readable storage medium. The method comprises: mounting the IO data to a matched first-level linked list according to the mapping relation between the IO data and a storage volume when the read-write operation of the IO data is executed; migrating the responded PIO data on each first-levellinked list or the PIO data which is not called over a first preset time to a second-level linked list; and when the first-level linked list is empty or the data is not called from the second-level linked list over a second preset time, deleting the data on the second-level linked list. According to the technical scheme, by setting the first-level linked list for each storage volume, it is guaranteed that data of the same storage volume is recorded in the same linked list, it is not needed to inquire the data needing to be cleared from the linked list according to the volume ID, and the IO data clearing efficiency is effectively improved. And by setting the first-level linked list and the second-level linked list, data which has been responded or is not called for a long time is migratedto the second-level linked list, so that useless data can be quickly deleted.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method, device and computer-readable storage medium for classifying and deleting IO data. Background technique [0002] Under the Linux system, perform the operation of deleting the storage volume, which needs to clear the host data corresponding to the volume, that is, the HIO data. A storage volume often includes multiple HIO data, and each HIO data is composed of multiple PIO data, and the PIO data is generally used as the minimum processing unit in the data processing process. [0003] The method of cleaning IO data in the prior art is to search the HIO on the linked list according to the volume ID passed from the command line, and judge whether the found HIO belongs to the volume by its size. If it belongs to the volume, mark the HIO to be deleted , and then look up the PIO on the linked list of the marked HIO, and judge whether the PIO belongs to the volu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/06G06F16/16
CPCG06F3/0652G06F3/061G06F16/162
Inventor 侯红生
Owner 北京浪潮数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products