2014-09-01 09:16:31 +02:00
|
|
|
+--------------------------+
|
2015-10-11 23:09:30 +02:00
|
|
|
| "disk_io_thread" |
|
|
|
|
| "(manages piece cache)" |
|
2014-09-01 09:16:31 +02:00
|
|
|
+--------------------------+
|
|
|
|
^
|
|
|
|
|
|
|
|
|
v
|
|
|
|
+--------------------------+
|
2015-10-11 23:09:30 +02:00
|
|
|
| "piece_manager" |
|
|
|
|
| "(maps pieces to slots)" |
|
2014-09-01 09:16:31 +02:00
|
|
|
+--------------------------+
|
|
|
|
^
|
|
|
|
|
|
2015-10-11 23:09:30 +02:00
|
|
|
v "customization point"
|
|
|
|
/----------------------------\ +-------------------+
|
|
|
|
| "storage" |<---->| "file_pool" |
|
|
|
|
| | | "open file cache" |
|
|
|
|
| "(maps slots to file and" | +-------------------+
|
|
|
|
| "offset. reads and writes" |
|
|
|
|
| "to disk)" | +--------------------+
|
|
|
|
| |<-----+ "file_storage" |
|
|
|
|
\----------------------------/ | "standard slot to" |
|
|
|
|
^ | "file mapping" |
|
|
|
|
| +--------------------+
|
2014-09-01 09:16:31 +02:00
|
|
|
v
|
|
|
|
+--------------------------+
|
2015-10-11 23:09:30 +02:00
|
|
|
| "file" |
|
|
|
|
| "(file class reads and" |
|
|
|
|
| "writes files)" |
|
2014-09-01 09:16:31 +02:00
|
|
|
+--------------------------+
|
|
|
|
|