Unlock instant, AI-driven research and patent intelligence for your innovation.

A sanlock optimization method and device based on a cluster file system

A technology of cluster file system and optimization method, which is applied in the field of sanlock optimization based on cluster file system, can solve problems such as offset value dependence, achieve the effect of optimizing dependence and solving offset value problems

Active Publication Date: 2020-09-04
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the sanlock lock is very dependent on the offset value. The sanlock distributed lock must have the offset value management function to generate an offset value, that is, there is a problem with the offset value of the sanlock lock.

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
  • A sanlock optimization method and device based on a cluster file system
  • A sanlock optimization method and device based on a cluster file system
  • A sanlock optimization method and device based on a cluster file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The core of the present invention is to provide a sanlock optimization method and device based on a cluster file system, so as to optimize the dependence of the sanlock on the offset value and solve the problem of the offset value of the sanlock.

[0031] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. 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.

[0032] Please refer to figure 1 , figure 1 A flow chart of a sanlock optimization meth...

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 invention discloses a cluster file system-based sanlock optimization method and device. The method comprises the following steps: deploying an agent in a cluster file system; maintaining an offset value required by a distributed lock manager sanlock through the agent, and applying an offset value for a file to be locked through the agent when the file to be locked is created; creating a multi-threading on the agent, and establishing multiple socket communications between the agent and sanlock by utilizing the multi-threading. The method has the advantages of realizing the optimization of the sanlock lock dependence on the offset value, and solving the offset value problem of the sanlock lock.

Description

technical field [0001] The invention relates to the technical field of cluster file systems, in particular to a sanlock optimization method and device based on a cluster file system. Background technique [0002] At present, with the rapid development of computer technology and network technology, the cluster system has gradually become the focus of the computer industry with its powerful computing power and robust fault-tolerant mechanism. The split-brain phenomenon in the cluster is known as an urgent problem to be solved today. Therefore, distributed locks such as dlm and sanlock have appeared. The dlm lock is based on the network, and when a large number of operations occur, the performance of the distributed lock is affected. Therefore, Most of them switch to sanlock locks to manage the cluster to prevent split-brain phenomenon. However, the sanlock lock is very dependent on the offset value. The sanlock distributed lock must have the offset value management function t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F9/54G06F16/11
CPCG06F8/30G06F9/546G06F16/11
Inventor 马怀旭
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD