WO2021135284A1 - Thick-provisioned volume creating method and apparatus, electronic device, and storage medium - Google Patents

Thick-provisioned volume creating method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2021135284A1
WO2021135284A1 PCT/CN2020/110982 CN2020110982W WO2021135284A1 WO 2021135284 A1 WO2021135284 A1 WO 2021135284A1 CN 2020110982 W CN2020110982 W CN 2020110982W WO 2021135284 A1 WO2021135284 A1 WO 2021135284A1
Authority
WO
WIPO (PCT)
Prior art keywords
thick
volume
creation
threads
provisioned
Prior art date
Application number
PCT/CN2020/110982
Other languages
French (fr)
Chinese (zh)
Inventor
吴伟
张端
Original Assignee
浪潮电子信息产业股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浪潮电子信息产业股份有限公司 filed Critical 浪潮电子信息产业股份有限公司
Publication of WO2021135284A1 publication Critical patent/WO2021135284A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Definitions

  • this application provides a method for creating a thick provisioned volume, including:
  • the activation of the target thread of the number of threads includes:
  • the method further includes:
  • the method further includes:
  • filling the head and tail of each thin volume with data of a preset length to obtain a thick provision volume includes:
  • the determining module is configured to determine the number of threads based on the creation rate in the creation command when a creation command is received; wherein the number of threads is positively correlated with the creation rate;
  • an electronic device including:
  • the processor is used to implement the steps of the thick-provisioned volume creation method described above when the computer program is executed.
  • the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the thick-provisioned volume creation method described above are realized.
  • the method for creating a thick-provisioned volume includes: when a creation command is received, determining the number of threads based on the creation rate in the creation command; wherein the number of threads is equal to the creation rate There is a positive correlation; the target thread of the number of threads is activated, and the target thread is used to create a thin volume; the head and tail of each thin volume are filled with data of a preset length to obtain a thick provision volume.
  • Fig. 1 is a flow chart showing a method for creating a thick provisioned volume according to an exemplary embodiment
  • Fig. 2 is a flowchart showing another method for creating a thick provisioned volume according to an exemplary embodiment
  • Fig. 3 is a structural diagram showing a device for creating thick provisioned volumes according to an exemplary embodiment
  • Fig. 4 is a structural diagram of an electronic device according to an exemplary embodiment.
  • the embodiment of the present application discloses a method for creating a thick-provisioned volume, which improves the efficiency of creating a thick-provisioned volume.
  • the number of threads used to create the thick-provisioned volume is determined.
  • the user can set the creation rate in the creation command. To ensure the efficiency of thick-provisioned volume creation, the higher the creation rate, the more threads used to create the thick-provisioned volume.
  • the creation rate can be divided into different levels, the higher the level, the higher the creation rate.
  • the RBD layer determines the level corresponding to the creation rate based on the correspondence between each level and the rate interval. .
  • Each level corresponds to a different number of threads, the higher the level, the greater the number of threads. For example, a high level corresponds to 32 threads, a medium level corresponds to 16 threads, and a low level corresponds to 4 threads.
  • S103 Fill the head and tail of each thin volume with data of a preset length to obtain a thick provisioned volume.
  • the small data volume is partially filled with small data
  • the target thread is used to fill only the data of the preset length of the head and tail of the thin volume, and the middle part except the head and tail is not filled with data.
  • the efficiency of the volume filling operation can be improved.
  • the preset length is not specifically limited here, and those skilled in the art can set it flexibly according to the actual situation. For example, one byte of data can be filled in the head and tail of each compact volume and updated
  • the object mapping table information corresponding to the thick-provisioned volume that is, preferably, after this step, it further includes: updating the object mapping table information of each thick-provisioned volume. After getting the thick provisioned volume, release all target threads.
  • a thin volume is first created, and when the volume filling operation is performed, a small amount of data is used for partial filling, and only the preset lengths of the head and tail are filled, which is compared with all filling in related technologies.
  • the solution can quickly complete the creation and traversal of all objects, improve the efficiency of volume filling operations, and further improve the efficiency of creating thick-provisioned volumes.
  • multiple target threads are used to create multiple thick-provisioned volumes in parallel, which further improves the efficiency of thick-provisioned volume creation.
  • the following describes a thick-provisioned volume creation device provided by an embodiment of the present application.
  • the thick-provisioned volume creation device described below and the above-described thick-provision volume creation method can be cross-referenced.
  • a structure diagram of a thick provisioned volume creation device includes:
  • the first creation module 302 is configured to activate a target thread of the number of threads, and use the target thread to create a reduced volume;
  • the thick-provisioned volume creation device provided by the embodiment of the present application first creates a thin volume, and uses a small amount of data to partially fill in the volume filling operation, and only fills the preset length of the head and tail, which is compared with the full filling in the related technology
  • the solution can quickly complete the creation and traversal of all objects, improve the efficiency of volume filling operations, and further improve the efficiency of creating thick-provisioned volumes.
  • multiple target threads are used to create multiple thick-provisioned volumes in parallel, which further improves the efficiency of thick-provisioned volume creation.
  • the present application also provides an electronic device.
  • a structural diagram of an electronic device 400 provided by an embodiment of the present application, as shown in FIG. 4, may include a processor 11 and a memory 12.
  • the electronic device 400 may further include one or more of a multimedia component 13, an input/output (I/O) interface 14, and a communication component 15.
  • I/O input/output
  • the electronic device 400 may be used by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processor (Digital Signal Processor, DSP for short), and digital signal processing equipment (Digital Signal Processor).
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSP Digital Signal Processor
  • Digital Signal Processor Digital Signal Processor
  • Signal Processing Device DSPD for short
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components Implementation, used to implement the above-mentioned thick provisioned volume creation method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A thick-provisioned volume creating method and apparatus, an electronic device, and a computer readable storage medium. Said method comprises: when a creation command is received, determining the number of threads on the basis of the creation rate in the creation command, the number of the threads being positively correlated with the creation rate; activating target threads, the number of which is equal to the number of the threads, and creating thin-provisioned volumes by using the target threads; and filling the head and tail of each thin-provisioned volume with data of a preset length, so as to obtain a thick-provisioned volume. In the thick-provisioned volume creating method provided in the present application, first, a thin-provisioned volume is created, and when a volume filling operation is performed, the volume is partially filled with a small amount of data, and only a preset length of the head and tail is filled, being able to rapidly complete creation and traversal of all objects, thereby increasing the efficiency of volume filling operation, and further increasing the efficiency of thick-provisioned volume creation. In addition, a plurality of thick-provisioned volumes are created by using a plurality of target threads in parallel, thereby further increasing the efficiency of thick-provisioned volume creation.

Description

一种厚置备卷创建方法、装置及电子设备和存储介质Method and device for creating thick provisioned volume, electronic equipment and storage medium
本申请要求于2019年12月29日提交中国专利局、申请号为201911386464.X、发明名称为“一种厚置备卷创建方法、装置及电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on December 29, 2019, the application number is 201911386464.X, and the invention title is "a method, device, electronic equipment and storage medium for creating thick stock volumes". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及存储技术领域,更具体地说,涉及一种厚置备卷创建方法、装置及一种电子设备和一种计算机可读存储介质。This application relates to the field of storage technology, and more specifically, to a method and device for creating a thick-provisioned volume, an electronic device, and a computer-readable storage medium.
背景技术Background technique
在当前分布式存储系统中,块的应用大大普及,作为块应用的基本单位,卷承担了主要的功能实现和业务输出,在目前发展形势下,卷主要分为精简卷和厚置备卷两种,前者可实现卷的快速创建,并最大化的利用设备存储空间,而后者在读写性能方面则略有胜出。相较于精简卷的创建过程,厚置备卷创建时要对配额空间进行类似卷填充的操作过程,所以在创建效率方面大幅降低,也造成目前大多数场景舍弃了厚置备卷匹配应用。In the current distributed storage system, the application of blocks is greatly popularized. As the basic unit of block applications, volumes are responsible for the main function realization and business output. Under the current development situation, volumes are mainly divided into thin volumes and thick provisioned volumes. , The former can realize the rapid creation of volumes and maximize the use of device storage space, while the latter slightly wins in terms of read and write performance. Compared with the creation process of thin volumes, the creation of thick-provisioned volumes requires an operation similar to volume filling of the quota space. Therefore, the creation efficiency is greatly reduced, and the thick-provisioned volume matching application is abandoned in most current scenarios.
因此,如何提高厚置备卷的创建效率是本领域技术人员需要解决的技术问题。Therefore, how to improve the efficiency of creating thick provisioned volumes is a technical problem that needs to be solved by those skilled in the art.
发明内容Summary of the invention
本申请的目的在于提供一种厚置备卷创建方法、装置及一种电子设备和一种计算机可读存储介质,提高了厚置备卷的创建效率。The purpose of this application is to provide a method and device for creating a thick-provisioned volume, an electronic device, and a computer-readable storage medium, so as to improve the efficiency of creating a thick-provisioned volume.
为实现上述目的,本申请提供了一种厚置备卷创建方法,包括:In order to achieve the above objective, this application provides a method for creating a thick provisioned volume, including:
当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;When a creation command is received, the number of threads is determined based on the creation rate in the creation command; wherein, the number of threads is positively correlated with the creation rate;
激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;Activate the target thread of the number of threads, and use the target thread to create a reduced volume;
在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。Filling the head and tail of each thin volume with data of a preset length to obtain a thick provision volume.
其中,还包括:Among them, it also includes:
创建线程池;其中,所述线程池中的每个线程之间进行加锁保护;Create a thread pool; wherein each thread in the thread pool is locked for protection;
相应的,所述激活所述线程数量的目标线程,包括:Correspondingly, the activation of the target thread of the number of threads includes:
在所述线程池内激活所述线程数量的目标线程。Activate the target thread of the thread number in the thread pool.
其中,所述基于所述创建命令中的创建速率确定线程数量,包括:Wherein, the determining the number of threads based on the creation rate in the creation command includes:
确定所述创建命令中的创建速率对应的等级,并基于所述等级确定所述线程数量;其中,所述等级与所述创建速率呈正相关,所述线程数量与所述等级呈正相关。The level corresponding to the creation rate in the creation command is determined, and the number of threads is determined based on the level; wherein the level is positively correlated with the creation rate, and the number of threads is positively correlated with the level.
其中,所述在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷之后,还包括:Wherein, after filling the head and tail of each thin volume with data of a preset length to obtain a thick provisioned volume, the method further includes:
更新每个所述厚置备卷的对象映射表信息。Update the object mapping table information of each thick-provisioned volume.
其中,所述在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷之后,还包括:Wherein, after filling the head and tail of each thin volume with data of a preset length to obtain a thick provisioned volume, the method further includes:
释放所有所述目标线程。Release all the target threads.
其中,所述在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷,包括:Wherein, filling the head and tail of each thin volume with data of a preset length to obtain a thick provision volume includes:
在每个所述精简卷的头部和尾部均填充一个字节的数据得到所述厚置备卷。Fill one byte of data at the head and tail of each thin volume to obtain the thick provisioned volume.
为实现上述目的,本申请提供了一种厚置备卷创建装置,包括:To achieve the above objective, this application provides a thick-provisioned volume creation device, including:
确定模块,用于当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;The determining module is configured to determine the number of threads based on the creation rate in the creation command when a creation command is received; wherein the number of threads is positively correlated with the creation rate;
第一创建模块,用于激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;The first creation module is used for activating the target thread of the number of threads, and using the target thread to create a reduced volume;
填充模块,用于在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。The filling module is used to fill the head and tail of each thin volume with data of a preset length to obtain a thick provision volume.
其中,所述填充模块具体为在每个所述精简卷的头部和尾部均填充一个字节的数据得到所述厚置备卷的模块。Wherein, the filling module is specifically a module that fills one byte of data at the head and tail of each thin volume to obtain the thick provisioned volume.
为实现上述目的,本申请提供了一种电子设备,包括:In order to achieve the above objective, this application provides an electronic device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序时实现如上述厚置备卷创建方法的 步骤。The processor is used to implement the steps of the thick-provisioned volume creation method described above when the computer program is executed.
为实现上述目的,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述厚置备卷创建方法的步骤。To achieve the foregoing objective, the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the thick-provisioned volume creation method described above are realized.
通过以上方案可知,本申请提供的一种厚置备卷创建方法,包括:当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。It can be seen from the above solution that the method for creating a thick-provisioned volume provided by the present application includes: when a creation command is received, determining the number of threads based on the creation rate in the creation command; wherein the number of threads is equal to the creation rate There is a positive correlation; the target thread of the number of threads is activated, and the target thread is used to create a thin volume; the head and tail of each thin volume are filled with data of a preset length to obtain a thick provision volume.
本申请提供的厚置备卷创建方法,首先创建精简卷,在进行卷填充操作时,采用小数据量部分填充,仅填充头部和尾部的预设长度,相较于相关技术中全部填充的方案,可以快速完成所有对象的创建和遍历,提高了卷填充操作的效率,进而提高了厚置备卷的创建效率。同时,通过多个目标线程并行进行多个厚置备卷的创建,进一步提高了厚置备卷的创建效率。本申请还公开了一种厚置备卷创建装置及一种电子设备和一种计算机可读存储介质,同样能实现上述技术效果。The thick-provisioned volume creation method provided in this application first creates a thin volume, and uses a small amount of data to partially fill in the volume filling operation, and only fills the preset lengths of the head and tail, compared to the full filling solution in the related technology , Can quickly complete the creation and traversal of all objects, improve the efficiency of volume filling operations, and further improve the efficiency of creating thick-provisioned volumes. At the same time, multiple target threads are used to create multiple thick-provisioned volumes in parallel, which further improves the efficiency of thick-provisioned volume creation. The application also discloses a thick provisioned volume creation device, an electronic device and a computer-readable storage medium, which can also achieve the above technical effects.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the attached picture:
图1为根据一示例性实施例示出的一种厚置备卷创建方法的流程图;Fig. 1 is a flow chart showing a method for creating a thick provisioned volume according to an exemplary embodiment;
图2为根据一示例性实施例示出的另一种厚置备卷创建方法的流程图;Fig. 2 is a flowchart showing another method for creating a thick provisioned volume according to an exemplary embodiment;
图3为根据一示例性实施例示出的一种厚置备卷创建装置的结构图;Fig. 3 is a structural diagram showing a device for creating thick provisioned volumes according to an exemplary embodiment;
图4为根据一示例性实施例示出的一种电子设备的结构图。Fig. 4 is a structural diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例公开了一种厚置备卷创建方法,提高了厚置备卷的创建效率。The embodiment of the present application discloses a method for creating a thick-provisioned volume, which improves the efficiency of creating a thick-provisioned volume.
参见图1,根据一示例性实施例示出的一种厚置备卷创建方法的流程图,如图1所示,包括:Referring to Fig. 1, a flow chart of a method for creating a thick provisioned volume according to an exemplary embodiment, as shown in Fig. 1, includes:
S101:当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;S101: When a creation command is received, the number of threads is determined based on the creation rate in the creation command; wherein, the number of threads is positively correlated with the creation rate;
本实施例可以采用C++语言开发,执行主体可以为分布式存储系统的RBD(中文全称:分布式对象存储块设备,英文全称:Reliable Autonom ic Distributed Object Storage Block Device)层,目的为创建厚置备卷,具体原理为创建精简卷,对其进行卷填充操作得到厚置备卷。This embodiment can be developed in C++ language, and the execution body can be the RBD (Chinese full name: Distributed Object Storage Block Device, English full name: Reliable Autonom ic Distributed Object Storage Block Device) layer of the distributed storage system, the purpose is to create a thick provisioned volume , The specific principle is to create a thin volume and perform a volume filling operation on it to obtain a thick provisioned volume.
在本步骤中,当接收到厚置备卷的创建命令时,确定用于创建厚置备卷的线程的线程数量。用户可以在创建命令中设置创建速率,为保证厚置备卷的创建效率,创建速率越高,用于创建厚置备卷的线程的线程数量越多。In this step, when a thick-provisioned volume creation command is received, the number of threads used to create the thick-provisioned volume is determined. The user can set the creation rate in the creation command. To ensure the efficiency of thick-provisioned volume creation, the higher the creation rate, the more threads used to create the thick-provisioned volume.
作为一种优选实施方式,本步骤可以包括:当接收到创建命令时,确定所述创建命令中的创建速率对应的等级,并基于所述等级确定所述线程数量;其中,所述等级与所述创建速率呈正相关,所述线程数量与所述等级呈正相关。As a preferred embodiment, this step may include: when a creation command is received, determining the level corresponding to the creation rate in the creation command, and determining the number of threads based on the level; The creation rate is positively correlated, and the number of threads is positively correlated to the level.
在具体实施中,可以将创建速率划分为不同的等级,等级越高,创建速率越高。在用户设置创建速率时,可以直接设置该等级,例如高、中、 低等,当然也可以设置创建速率的具体数值,RBD层基于每个等级与速率区间的对应关系确定该创建速率对应的等级。每个等级对应不同的线程数量,等级越高,线程数量越多。例如,高等级对应32线程,中等级对应16线程,低等级对应4线程。In a specific implementation, the creation rate can be divided into different levels, the higher the level, the higher the creation rate. When the user sets the creation rate, you can directly set the level, such as high, medium, low, etc., of course, you can also set the specific value of the creation rate. The RBD layer determines the level corresponding to the creation rate based on the correspondence between each level and the rate interval. . Each level corresponds to a different number of threads, the higher the level, the greater the number of threads. For example, a high level corresponds to 32 threads, a medium level corresponds to 16 threads, and a low level corresponds to 4 threads.
可见,在本实施例中,增加创建速率的配置选项,允许认人为配置创建速率,匹配业务流程,达到提升厚置备卷创建速率、人为控制创建速率的目的,从而扩展厚置备卷的应用场景。It can be seen that, in this embodiment, the configuration option of the creation rate is added, allowing the creation rate to be configured manually, matching the business process, achieving the purpose of increasing the creation rate of thick-provisioned volumes and artificially controlling the creation rate, thereby expanding the application scenarios of thick-provisioned volumes.
S102:激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;S102: Activate a target thread of the number of threads, and use the target thread to create a reduced volume;
在本步骤中,根据用户创建速率的配置要求,激活相应的线程数量的线程,即本步骤中的目标线程,利用目标线程创建精简卷。在具体实施中,可以预先创建线程池,即本实施例还包括:创建线程池。该线程池包括固定数量的线程,线程之间进行加锁保护,放置不同线程操作同一份数据时发生冲突。In this step, according to the configuration requirements of the user's creation rate, activate a corresponding number of threads, that is, the target thread in this step, and use the target thread to create a reduced volume. In a specific implementation, a thread pool may be created in advance, that is, this embodiment further includes: creating a thread pool. The thread pool includes a fixed number of threads, and the threads are locked for protection, and conflicts occur when different threads are placed to operate the same piece of data.
S103:在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。S103: Fill the head and tail of each thin volume with data of a preset length to obtain a thick provisioned volume.
在卷填充操作时,采用小数据的小数据量部分填充,利用目标线程仅填充精简卷的头部和尾部的预设长度的数据,而除头部和尾部之外的中间部分不填充数据,可以提高卷填充操作的效率。需要说明的是,此处不对预设长度进行具体限定,本领域技术人员可以根据实际情况进行灵活设置,例如,可以在每个精简卷的头部和尾部均填充一个字节的数据,并更新该厚置备卷对应的对象映射表信息,即优选的,本步骤之后,还包括:更新每个所述厚置备卷的对象映射表信息。得到厚置备卷后,释放所有目标线程。In the volume filling operation, the small data volume is partially filled with small data, and the target thread is used to fill only the data of the preset length of the head and tail of the thin volume, and the middle part except the head and tail is not filled with data. The efficiency of the volume filling operation can be improved. It should be noted that the preset length is not specifically limited here, and those skilled in the art can set it flexibly according to the actual situation. For example, one byte of data can be filled in the head and tail of each compact volume and updated The object mapping table information corresponding to the thick-provisioned volume, that is, preferably, after this step, it further includes: updating the object mapping table information of each thick-provisioned volume. After getting the thick provisioned volume, release all target threads.
本申请实施例提供的厚置备卷创建方法,首先创建精简卷,在进行卷填充操作时,采用小数据量部分填充,仅填充头部和尾部的预设长度,相较于相关技术中全部填充的方案,可以快速完成所有对象的创建和遍历,提高了卷填充操作的效率,进而提高了厚置备卷的创建效率。同时,通过多个目标线程并行进行多个厚置备卷的创建,进一步提高了厚置备卷的创 建效率。In the method for creating a thick provisioned volume provided by the embodiment of the present application, a thin volume is first created, and when the volume filling operation is performed, a small amount of data is used for partial filling, and only the preset lengths of the head and tail are filled, which is compared with all filling in related technologies. The solution can quickly complete the creation and traversal of all objects, improve the efficiency of volume filling operations, and further improve the efficiency of creating thick-provisioned volumes. At the same time, multiple target threads are used to create multiple thick-provisioned volumes in parallel, which further improves the efficiency of thick-provisioned volume creation.
本申请实施例公开了一种厚置备卷创建方法,相对于上一实施例,本实施例对技术方案作了进一步的说明和优化。具体的:The embodiment of the present application discloses a method for creating a thick provisioned volume. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. specific:
参见图2,根据一示例性实施例示出的另一种厚置备卷创建方法的流程图,如图2所示,包括:Referring to FIG. 2, a flowchart of another method for creating a thick provisioned volume according to an exemplary embodiment, as shown in FIG. 2, includes:
S201:当接收到创建命令时,确定所述创建命令中的创建速率对应的等级,并基于所述等级确定所述线程数量;其中,所述等级与所述创建速率呈正相关,所述线程数量与所述等级呈正相关;S201: When a creation command is received, determine the level corresponding to the creation rate in the creation command, and determine the number of threads based on the level; wherein the level is positively correlated with the creation rate, and the number of threads It is positively correlated with the said grade;
S202:创建线程池,并在所述线程池内激活所述线程数量的目标线程;其中,所述线程池中的每个线程之间进行加锁保护;S202: Create a thread pool, and activate a target thread of the number of threads in the thread pool; wherein each thread in the thread pool is locked for protection;
S203:在每个所述精简卷的头部和尾部均填充一个字节的数据得到所述厚置备卷;S203: Fill one byte of data at the head and tail of each thin volume to obtain the thick provisioned volume;
S204:更新每个所述厚置备卷的对象映射表信息;S204: Update the object mapping table information of each thick-provisioned volume;
S205:释放所有所述目标线程。S205: Release all the target threads.
由此可见,本实施例采用构建线程池和小数据量填充的方式,提升厚置备卷填充时的并发操作,达到提升厚置备卷快速创建的目的。同时为了匹配更多的应用场景,不影响当前业务的进行,增加了人为配置卷创建速率的操作,让用户自主决定卷的创建过程,由此可大大扩展厚置备卷的应用场景,也迎合了当前快速存储、高效存储的理念。It can be seen that this embodiment adopts a method of constructing a thread pool and filling with a small amount of data to improve concurrent operations during filling of a thick-provisioned volume, so as to achieve the purpose of improving the rapid creation of a thick-provisioned volume. At the same time, in order to match more application scenarios without affecting the current business, the operation of artificially configuring the volume creation rate has been added, allowing users to independently determine the volume creation process, which can greatly expand the application scenarios of thick-provisioned volumes and cater to them. The current concept of fast storage and efficient storage.
下面介绍本申请的一种应用实施例,具体可以包括以下步骤:The following describes an application embodiment of the present application, which may specifically include the following steps:
步骤一:用户创建厚置备卷的指令下发,同时根据当前业务场景需求,配置合理的创建速率参数,此方案为用户提供三个等级的创建速率选项:高、中、低,分别对应不同级别的写线程数;Step 1: The user issues an instruction to create a thick provisioned volume, and at the same time, configures reasonable creation rate parameters according to the current business scenario requirements. This solution provides users with three levels of creation rate options: high, medium, and low, corresponding to different levels. The number of write threads;
步骤二:RBD层接收创建指令,首先创建精简卷,然后对精简卷进行写填充操作,在此操作中包含以下过程:Step 2: The RBD layer receives the creation instruction, first creates the thin volume, and then writes and fills the thin volume. This operation includes the following processes:
a)RBD层创建写线程池,包含32个线程,线程之间加锁保护,防止不同线程操作同一份数据时发生冲突;a) The RBD layer creates a write thread pool, which contains 32 threads, and locks between threads to prevent conflicts when different threads operate on the same piece of data;
b)根据用户创建速率配置要求,激活相应数目的线程,其中高等级对应32线程,中等级对应16线程,低等级对应4线程;b) According to the user’s creation rate configuration requirements, activate the corresponding number of threads, where the high level corresponds to 32 threads, the medium level corresponds to 16 threads, and the low level corresponds to 4 threads;
c)在线程中完成卷数据对象的创建,并对每个对象的开头和末尾处各填充1字节数据,据此来更新对应对象的objectmap信息;c) Complete the creation of volume data objects in the thread, and fill in 1 byte of data at the beginning and end of each object, and update the objectmap information of the corresponding object accordingly;
d)填充完成后,释放已激活线程,完成厚置备卷的填充过程。d) After filling is completed, the activated thread is released to complete the filling process of the thick-provisioned volume.
步骤三:完成厚置备卷的创建过程,返回。Step 3: Complete the creation process of the thick provisioned volume and return.
下面对本申请实施例提供的一种厚置备卷创建装置进行介绍,下文描述的一种厚置备卷创建装置与上文描述的一种厚置备卷创建方法可以相互参照。The following describes a thick-provisioned volume creation device provided by an embodiment of the present application. The thick-provisioned volume creation device described below and the above-described thick-provision volume creation method can be cross-referenced.
参见图3,根据一示例性实施例示出的一种厚置备卷创建装置的结构图,如图3所示,包括:Referring to FIG. 3, a structure diagram of a thick provisioned volume creation device according to an exemplary embodiment, as shown in FIG. 3, includes:
确定模块301,用于当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;The determining module 301 is configured to determine the number of threads based on the creation rate in the creation command when a creation command is received; wherein the number of threads is positively correlated with the creation rate;
第一创建模块302,用于激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;The first creation module 302 is configured to activate a target thread of the number of threads, and use the target thread to create a reduced volume;
填充模块303,用于在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。The filling module 303 is used to fill the head and tail of each thin volume with data of a preset length to obtain a thick provision volume.
本申请实施例提供的厚置备卷创建装置,首先创建精简卷,在进行卷填充操作时,采用小数据量部分填充,仅填充头部和尾部的预设长度,相较于相关技术中全部填充的方案,可以快速完成所有对象的创建和遍历,提高了卷填充操作的效率,进而提高了厚置备卷的创建效率。同时,通过多个目标线程并行进行多个厚置备卷的创建,进一步提高了厚置备卷的创建效率。The thick-provisioned volume creation device provided by the embodiment of the present application first creates a thin volume, and uses a small amount of data to partially fill in the volume filling operation, and only fills the preset length of the head and tail, which is compared with the full filling in the related technology The solution can quickly complete the creation and traversal of all objects, improve the efficiency of volume filling operations, and further improve the efficiency of creating thick-provisioned volumes. At the same time, multiple target threads are used to create multiple thick-provisioned volumes in parallel, which further improves the efficiency of thick-provisioned volume creation.
在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the foregoing embodiment, as a preferred implementation manner, it further includes:
第二创建模块,用于创建线程池;其中,所述线程池中的每个线程之间进行加锁保护;The second creation module is used to create a thread pool; wherein each thread in the thread pool is locked and protected;
相应的,所述第一创建模块302具体为在所述线程池内激活所述线程 数量的目标线程,并利用所述目标线程创建精简卷的模块。Correspondingly, the first creation module 302 is specifically a module that activates the target thread of the number of threads in the thread pool, and uses the target thread to create a reduced volume.
在上述实施例的基础上,作为一种优选实施方式,所述确定模块301具体为当接收到创建命令时,确定所述创建命令中的创建速率对应的等级,并基于所述等级确定所述线程数量的模块;其中,所述等级与所述创建速率呈正相关,所述线程数量与所述等级呈正相关。On the basis of the foregoing embodiment, as a preferred implementation manner, the determining module 301 specifically determines the level corresponding to the creation rate in the creation command when a creation command is received, and determines the level based on the level Module of the number of threads; wherein the level is positively correlated with the creation rate, and the number of threads is positively correlated with the level.
在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the foregoing embodiment, as a preferred implementation manner, it further includes:
更新模块,用于更新每个所述厚置备卷的对象映射表信息。The update module is used to update the object mapping table information of each thick-provisioned volume.
在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the foregoing embodiment, as a preferred implementation manner, it further includes:
释放模块,用于释放所有所述目标线程。The release module is used to release all the target threads.
在上述实施例的基础上,作为一种优选实施方式,所述填充模块303具体为在每个所述精简卷的头部和尾部均填充一个字节的数据得到所述厚置备卷的模块。Based on the foregoing embodiment, as a preferred implementation, the filling module 303 is specifically a module that fills one byte of data at the head and tail of each thin volume to obtain the thick provisioned volume.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the foregoing embodiment, the specific manner in which each module performs operation has been described in detail in the embodiment of the method, and detailed description will not be given here.
本申请还提供了一种电子设备,参见图4,本申请实施例提供的一种电子设备400的结构图,如图4所示,可以包括处理器11和存储器12。该电子设备400还可以包括多媒体组件13,输入/输出(I/O)接口14,以及通信组件15中的一者或多者。The present application also provides an electronic device. Referring to FIG. 4, a structural diagram of an electronic device 400 provided by an embodiment of the present application, as shown in FIG. 4, may include a processor 11 and a memory 12. The electronic device 400 may further include one or more of a multimedia component 13, an input/output (I/O) interface 14, and a communication component 15.
其中,处理器11用于控制该电子设备400的整体操作,以完成上述的厚置备卷创建方法中的全部或部分步骤。存储器12用于存储各种类型的数据以支持在该电子设备400的操作,这些数据例如可以包括用于在该电子设备400上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器12可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable  Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件13可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器12或通过通信组件15发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口14为处理器11和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件15用于该电子设备400与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G或4G,或它们中的一种或几种的组合,因此相应的该通信组件15可以包括:Wi-Fi模块,蓝牙模块,NFC模块。The processor 11 is used to control the overall operation of the electronic device 400 to complete all or part of the steps in the above-mentioned thick provisioned volume creation method. The memory 12 is used to store various types of data to support operations on the electronic device 400. These data may include, for example, instructions for any application or method to operate on the electronic device 400, as well as application-related data. For example, contact data, messages sent and received, pictures, audio, video, etc. The memory 12 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 13 may include a screen and an audio component. The screen may be a touch screen, for example, and the audio component is used to output and/or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 12 or sent through the communication component 15. The audio component also includes at least one speaker for outputting audio signals. The I/O interface 14 provides an interface between the processor 11 and other interface modules. The above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons. The communication component 15 is used for wired or wireless communication between the electronic device 400 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so the corresponding communication component 15 may include: Wi-Fi module, Bluetooth module, NFC module.
在一示例性实施例中,电子设备400可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的厚置备卷创建方法。In an exemplary embodiment, the electronic device 400 may be used by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processor (Digital Signal Processor, DSP for short), and digital signal processing equipment (Digital Signal Processor). Signal Processing Device, DSPD for short), Programmable Logic Device (PLD for short), Field Programmable Gate Array (FPGA for short), controller, microcontroller, microprocessor or other electronic components Implementation, used to implement the above-mentioned thick provisioned volume creation method.
在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述厚置备卷创建方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器12,上述程序指令可由电子设备400的处理器11执行以完成上述的厚置备卷创建方法。In another exemplary embodiment, there is also provided a computer-readable storage medium including program instructions that, when executed by a processor, implement the steps of the thick-provisioned volume creation method described above. For example, the computer-readable storage medium may be the aforementioned memory 12 including program instructions, which can be executed by the processor 11 of the electronic device 400 to complete the aforementioned thick-provisioned volume creation method.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申 请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.

Claims (10)

  1. 一种厚置备卷创建方法,其特征在于,包括:A method for creating a thick provisioned volume, which is characterized in that it includes:
    当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;When a creation command is received, the number of threads is determined based on the creation rate in the creation command; wherein, the number of threads is positively correlated with the creation rate;
    激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;Activate the target thread of the number of threads, and use the target thread to create a reduced volume;
    在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。Filling the head and tail of each thin volume with data of a preset length to obtain a thick provision volume.
  2. 根据权利要求1所述厚置备卷创建方法,其特征在于,还包括:The method for creating a thick provisioned volume according to claim 1, further comprising:
    创建线程池;其中,所述线程池中的每个线程之间进行加锁保护;Create a thread pool; wherein each thread in the thread pool is locked for protection;
    相应的,所述激活所述线程数量的目标线程,包括:Correspondingly, the activation of the target thread of the number of threads includes:
    在所述线程池内激活所述线程数量的目标线程。Activate the target thread of the thread number in the thread pool.
  3. 根据权利要求1所述厚置备卷创建方法,其特征在于,所述基于所述创建命令中的创建速率确定线程数量,包括:The method for creating a thick provisioned volume according to claim 1, wherein the determining the number of threads based on the creation rate in the creation command comprises:
    确定所述创建命令中的创建速率对应的等级,并基于所述等级确定所述线程数量;其中,所述等级与所述创建速率呈正相关,所述线程数量与所述等级呈正相关。The level corresponding to the creation rate in the creation command is determined, and the number of threads is determined based on the level; wherein the level is positively correlated with the creation rate, and the number of threads is positively correlated with the level.
  4. 根据权利要求1所述厚置备卷创建方法,其特征在于,所述在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷之后,还包括:The method for creating a thick provisioned volume according to claim 1, wherein after filling the head and tail of each thin volume with data of a preset length to obtain the thick provisioned volume, the method further comprises:
    更新每个所述厚置备卷的对象映射表信息。Update the object mapping table information of each thick-provisioned volume.
  5. 根据权利要求1所述厚置备卷创建方法,其特征在于,所述在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷之后,还包括:The method for creating a thick provisioned volume according to claim 1, wherein after filling the head and tail of each thin volume with data of a preset length to obtain the thick provisioned volume, the method further comprises:
    释放所有所述目标线程。Release all the target threads.
  6. 根据权利要求1至5中任一项所述厚置备卷创建方法,其特征在于,所述在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷,包括:The method for creating a thick-provisioned volume according to any one of claims 1 to 5, wherein said filling the head and tail of each said thin volume with data of a preset length to obtain the thick-provisioned volume comprises:
    在每个所述精简卷的头部和尾部均填充一个字节的数据得到所述厚置备卷。Fill one byte of data at the head and tail of each thin volume to obtain the thick provisioned volume.
  7. 一种厚置备卷创建装置,其特征在于,包括:A thick-provisioned volume creation device is characterized in that it comprises:
    确定模块,用于当接收到创建命令时,基于所述创建命令中的创建速率确定线程数量;其中,所述线程数量与所述创建速率呈正相关;The determining module is configured to determine the number of threads based on the creation rate in the creation command when a creation command is received; wherein the number of threads is positively correlated with the creation rate;
    第一创建模块,用于激活所述线程数量的目标线程,并利用所述目标线程创建精简卷;The first creation module is used for activating the target thread of the number of threads, and using the target thread to create a reduced volume;
    填充模块,用于在每个所述精简卷的头部和尾部填充预设长度的数据得到厚置备卷。The filling module is used to fill the head and tail of each thin volume with data of a preset length to obtain a thick provision volume.
  8. 根据权利要求7所述厚置备卷创建装置,其特征在于,所述填充模块具体为在每个所述精简卷的头部和尾部均填充一个字节的数据得到所述厚置备卷的模块。8. The thick-provisioned volume creation device according to claim 7, wherein the filling module is specifically a module that fills one byte of data at the head and tail of each thin volume to obtain the thick-provisioned volume.
  9. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述厚置备卷创建方法的步骤。The processor is configured to implement the steps of the thick-provisioned volume creation method according to any one of claims 1 to 6 when the computer program is executed.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述厚置备卷创建方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the creation of the thick provisioned volume according to any one of claims 1 to 6 is realized Method steps.
PCT/CN2020/110982 2019-12-29 2020-08-25 Thick-provisioned volume creating method and apparatus, electronic device, and storage medium WO2021135284A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911386464.X 2019-12-29
CN201911386464.XA CN111061435A (en) 2019-12-29 2019-12-29 Thick backup roll creating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021135284A1 true WO2021135284A1 (en) 2021-07-08

Family

ID=70303045

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110982 WO2021135284A1 (en) 2019-12-29 2020-08-25 Thick-provisioned volume creating method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111061435A (en)
WO (1) WO2021135284A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176570B (en) * 2019-12-27 2021-07-16 浪潮电子信息产业股份有限公司 Thick backup roll creating method, device, equipment and medium
CN111061435A (en) * 2019-12-29 2020-04-24 浪潮电子信息产业股份有限公司 Thick backup roll creating method and device, electronic equipment and storage medium
CN111880741B (en) * 2020-07-29 2022-11-25 苏州浪潮智能科技有限公司 Object state setting method and device, electronic equipment and storage medium
CN115878049A (en) * 2023-02-28 2023-03-31 浪潮电子信息产业股份有限公司 Thick backup volume creating method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150134904A1 (en) * 2013-11-12 2015-05-14 International Business Machines Corporation Thick and thin data volume management
CN107436727A (en) * 2016-05-26 2017-12-05 中兴通讯股份有限公司 The memory space management and device of simplification volume
CN108874320A (en) * 2018-06-28 2018-11-23 郑州云海信息技术有限公司 Simplification volume setting method, device, equipment and computer readable storage medium
CN110083314A (en) * 2019-05-07 2019-08-02 苏州浪潮智能科技有限公司 A kind of logical volume delet method, system and relevant apparatus
CN111061435A (en) * 2019-12-29 2020-04-24 浪潮电子信息产业股份有限公司 Thick backup roll creating method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391628B (en) * 2017-06-30 2021-04-09 北京奇虎科技有限公司 Data synchronization method and device
CN107450854B (en) * 2017-08-07 2020-09-18 苏州浪潮智能科技有限公司 Method and system for determining maximum thread number under expected speed
CN108737292A (en) * 2018-04-18 2018-11-02 千寻位置网络有限公司 A kind of sending method and system, server of bulk messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150134904A1 (en) * 2013-11-12 2015-05-14 International Business Machines Corporation Thick and thin data volume management
CN107436727A (en) * 2016-05-26 2017-12-05 中兴通讯股份有限公司 The memory space management and device of simplification volume
CN108874320A (en) * 2018-06-28 2018-11-23 郑州云海信息技术有限公司 Simplification volume setting method, device, equipment and computer readable storage medium
CN110083314A (en) * 2019-05-07 2019-08-02 苏州浪潮智能科技有限公司 A kind of logical volume delet method, system and relevant apparatus
CN111061435A (en) * 2019-12-29 2020-04-24 浪潮电子信息产业股份有限公司 Thick backup roll creating method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111061435A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
WO2021135284A1 (en) Thick-provisioned volume creating method and apparatus, electronic device, and storage medium
KR102208186B1 (en) Blockchain consensus method and device
US9910977B2 (en) Data sharing between multiple applications running on a mobile device
KR102376713B1 (en) Composite partition functions
CN104572042A (en) Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN110019024B (en) Directory query method, system, electronic device and storage medium
US9262317B2 (en) Non-volatile configuration for serial non-volatile memory
WO2020259289A1 (en) Resource allocation method and apparatus, electronic device and storage medium
WO2022199284A1 (en) Call stack backtrace method and apparatus, and device and medium
US20200380965A1 (en) Method for generating speech, apparatus, device and storage medium
CN106503069A (en) File sharing method and device
CN112799696B (en) Firmware upgrading method and related equipment
US20210096982A1 (en) Booting an application from multiple memories
WO2019047901A1 (en) Data depositing method
CN114328281A (en) Method and device for processing abnormal power failure of solid state disk, electronic equipment and medium
JP2016533588A (en) Storage processing method, apparatus and terminal
US10171868B2 (en) Method for processing audio data, terminal and television
CN113031871A (en) Data adding and aggregating method and device, electronic equipment and readable storage medium
CN113490916A (en) Stack management
CN109101191B (en) Data storage method, data storage device, storage medium and electronic equipment
EP3550430B1 (en) Method for processing configuration file, touch chip, apparatus, and medium
CN111444117A (en) Method and device for realizing fragmentation of storage space, storage medium and electronic equipment
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
CN110837616A (en) Method, system and storage medium for managing browser kernel
CN115827049A (en) Configuration-based cache switching method, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20908557

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20908557

Country of ref document: EP

Kind code of ref document: A1