The invention discloses a
block code determination method of a storage
system and the storage
system, and relates to the technical field of storage systems.The method comprises the steps that space distribution of a redundant array of the storage
system is divided into a plurality of data sets with the total number of disks as the cycle period, and strip distribution
modes of all the data sets in the cycle period are repeated;
spatial distribution is strictly aligned on physical storage,
spatial distribution optimization of the independent redundant array of the storage system is achieved, no matter whether the number of disks is an odd number or an even number, a uniform cycle period model is adopted, continuous read-write operation of the
disk array is facilitated, a cache structure is queried according to a data group number, block numbers are returned if a cache is hit, and the cache structure is optimized. If not, the
block number is dynamically calculated, and the calculation result is written into the corresponding position, so that the step of solving the
block code is simplified. Through a cyclic period space distribution structure and a cache acceleration mechanism, the problem that block
numbering calculation is complex and time-consuming in the prior art is solved, and the performance and universality of a storage system are remarkably improved.