Add PING operation and timeouts to detect OSD failures when a host goes down

This commit is contained in:
Vitaliy Filippov
2021-03-09 02:15:38 +03:00
parent 836635c518
commit ad577c4aac
7 changed files with 116 additions and 24 deletions
+2 -1
View File
@@ -27,7 +27,8 @@
#define OSD_OP_WRITE 12
#define OSD_OP_SYNC 13
#define OSD_OP_DELETE 14
#define OSD_OP_MAX 14
#define OSD_OP_PING 15
#define OSD_OP_MAX 15
// Alignment & limit for read/write operations
#ifndef MEM_ALIGNMENT
#define MEM_ALIGNMENT 512