Use immediate_commit to benefit the primary OSD

This commit is contained in:
Vitaliy Filippov
2020-03-10 02:20:16 +03:00
parent 3f522c66e6
commit 31f9445030
3 changed files with 75 additions and 18 deletions
+5
View File
@@ -35,6 +35,10 @@
#define OSD_PEERING_PEERS 1
#define OSD_PEERING_PGS 2
#define IMMEDIATE_NONE 0
#define IMMEDIATE_SMALL 1
#define IMMEDIATE_ALL 2
//#define OSD_STUB
struct osd_op_buf_list_t
@@ -173,6 +177,7 @@ class osd_t
int client_queue_depth = 128;
bool allow_test_ops = true;
int receive_buffer_size = 9000;
int immediate_commit = IMMEDIATE_NONE;
// peer OSDs