本篇為 2019 年度《Ceph 開發者月報》專欄的第三篇,在《Ceph 開發者月報》中,我們 UMCloud 存儲團隊將以月度為單位,為大家分享當月 Ceph 社區的有趣的提交和重要的變更,方便大家即刻掌握一手 Ceph 社區開發資料。
每篇將以對象存儲、塊存儲、統一存儲層、集群管理、基礎庫等模塊組織,為大家一一介紹。
本期看點:
為多站點數據同步添加 perf counters
rgw multisite: add perf counters to data sync #26722 (https://github.com/ceph/ceph/pull/26722)
對象存儲
為多站點數據同步添加 perf counters
rgw multisite: add perf counters to data sync #26722 (https://github.com/ceph/ceph/pull/26722)
為每個 source zone 添加 perf counter, 可以用來測量:
- object replication 的帶寬
- log replication 的請求頻率和平均延遲
塊存儲
librbd: 新增 simple scheduler
librbd: simple scheduler plugin for object dispatcher layer #26675 (https://github.com/ceph/ceph/pull/26675)
如果對象還在處理過程中,可以延遲對象的更新。在某些情況下可以將順序 I/O 聚集到同一個對象上。
統一存儲層
基於 seastar 重構 OSD 的工作推進
- crimson/osd: init PG with more info #27064 (https://github.com/ceph/ceph/pull/27064)
- crimson/osd: create msgrs in main.cc #27066 (https://github.com/ceph/ceph/pull/27066)
- crimson/osd: report pg_stats to mgr #27065 (https://github.com/ceph/ceph/pull/27065)
- crimson/osd: add minimal state machine for PG peering #27071 (https://github.com/ceph/ceph/pull/27071)
- crimon/osd: serve read requests #26697 (https://github.com/ceph/ceph/pull/26697)
- vstart.sh: add an option to use crimson-osd #27108 (https://github.com/ceph/ceph/pull/27108)
集群管理
1. dashboard 添加存儲池 IO 統計
mimic: mgr/dashboard: show I/O stats in Pool list #27053 (https://github.com/ceph/ceph/pull/27053)