存储空间的分配方法及存储设备组成比例

技术编号:16934652 阅读:41 留言:0更新日期:2018-01-03 05:01
一种存储空间的分配方法及存储设备,涉及存储领域,用以根据每次写入存储设备的数据量的大小以不同的分配粒度进行存储空间分配。所述方法包括:存储设备接收数据写请求,所述数据写请求包括待写入数据(S101);根据所述待写入数据的大小以及为存储空间预先设定的N个分配粒度,从所述N个不同分配粒度中为所述数据写请求选择一个分配存储空间的分配粒度(S102);并以所述选择的分配粒度为所述数据写请求分配存储空间(S103),所述分配粒度作为分配所述存储空间的单位,且每个分配粒度具有可分配存储空间。

Storage space distribution method and storage device

A storage space allocation method and storage device relates to the storage area, which is used to allocate storage space according to the size of data stored in each storage device. The method includes: receiving data storage device write request, the data write request includes writing data to be N (S101); according to the particle size distribution and the size of the data to be written to the storage space for the preset, from the N in different allocation granularity for the data write requests to select a distribution the storage space allocation granularity (S102); and to the choice of the allocation granularity for the data write request allocation of storage space (S103), the distribution of particle size distribution as a unit of the storage space, and each has a storage space allocation granularity distribution.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:张鹏叶茂张国彬程卓
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1