Data storage method and device, storage equipment and readable storage medium
The invention relates to the technical field of storage, and provides a data storage method and device, storage equipment and a readable storage medium, the method comprises the following steps: receiving a write request sent by a client and used for writing to-be-written data, the write request com...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
19.08.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to the technical field of storage, and provides a data storage method and device, storage equipment and a readable storage medium, the method comprises the following steps: receiving a write request sent by a client and used for writing to-be-written data, the write request comprising a to-be-written file and the to-be-written length of the to-be-written data, the first-level cache region and the second-level cache region are bound with a to-be-written file in advance; if the to-be-written length is not greater than the preset value, writing the to-be-written data into a first-level cache region and a second-level cache region, so that the to-be-written data is stored to a storage region from the first-level cache region or the second-level cache region; if the to-be-written length is greater than the preset value, writing the to-be-written data into a second-level cache region, so that the to-be-written data is stored from the second-level cache region to a storage region; and returning |
---|---|
Bibliography: | Application Number: CN202210689314 |