MAX_VCD
struct tcs_cmd tcs_list[MAX_VCD],
int n[MAX_VCD + 1])
memset(n, 0, sizeof(int) * (MAX_VCD + 1));
int commit_idx[MAX_VCD + 1];