In this study, the authors propose a class of exclusive OR (XOR)-based maximum distance separable (MDS) array codes, referred to as horizontal-vertical-diagonal (HVD) codes, which can tolerate triple disk failures with optimal update complexity. The HVD code has a similar data/parity layout to the horizontal-vertical (HV) code and has many figures of merits as the HV code. Also, an efficient recovery algorithm is proposed, which can be implemented to accelerate the recovery process of double disk failures by making full use of all kinds of parities in the HVD code. The authors evaluate the encoding/decoding efficiency of the HVD code by comparing the number of XORs and the number of disk reads with other MDS array codes. Results show that the HVD code inherits most of the merits of the HV code and requires less number of disk reads when recovering single disk failure.