当前位置: 首页 > 文档资料 > Ceph 中文文档 >

OSD Internals

优质
小牛编辑
135浏览
2023-12-01
                                                                                                   Messenger throttle (number and size)
         |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
                                                                     FileStore op_queue throttle (number and size)
                                                                |--------------------------------------------------------|
                                                                                                                                                                   WBThrottle
                                                                                                                       |---------------------------------------------------------------------------------------------------------|
                                                                                                                                                                 Journal (size)
                                                                                        |-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
                                                                                                                       |----------------------------------------------------------------------------------------------------> flushed ----------------> synced
                                                                                                                       |
Op: Read Header --DispatchQ--> OSD::_dispatch --OpWQ--> PG::do_request --journalq--> Journal --FileStore::OpWQ--> Apply Thread --Finisher--> op_applied ------------------------------------------------------------->  Complete
                                              |                                                                                                                                                                      |
SubOp:                                        --Messenger--> ReadHeader --DispatchQ--> OSD::_dispatch --OpWQ--> PG::do_request --journalq--> Journal --FileStore::OpWQ--> Apply Thread --Finisher--> sub_op_applied -
                                                                                                                                                                              |
                                                                                                                                                                              |-----------------------------> flushed ----------------> synced
                                                                                                                                                |------------------------------------------------------------------------------------------|
                                                                                                                                                                                        Journal (size)
                                                                                                                                                                              |---------------------------------|
                                                                                                                                                                                        WBThrottle
                                                                                                                         |-----------------------------------------------------|
                                                                                                                            FileStore op_queue throttle (number and size)