summaryrefslogtreecommitdiff
path: root/include/internal
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2023-05-05 10:43:58 +0800
committerLu Qiuwen <[email protected]>2023-05-05 14:03:09 +0800
commit79be067ec7c90c668a4a857f8f5053255c84d818 (patch)
tree2ed9f2eb691e64d15e8179b42d9a76293c69bc64 /include/internal
parente5ac798f7c3e8bb0aab4e5552df2e3f5b93db0eb (diff)
调整vnode的enqueue实现,由bulk改为burst以优化转发延迟。
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/vdev_define.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/vdev_define.h b/include/internal/vdev_define.h
index b12417f..276efaa 100644
--- a/include/internal/vdev_define.h
+++ b/include/internal/vdev_define.h
@@ -58,6 +58,10 @@ struct vdev_stat_info
uint64_t notify_state_running[MR_SID_MAX];
uint64_t notify_state_ready[MR_SID_MAX];
#endif
+
+ /* Batch Size */
+ uint64_t batch_size_total[MR_SID_MAX];
+ uint64_t batch_size_count[MR_SID_MAX];
};
/* 虚拟设备信息 */