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" |
|
2015-11-19 07:38:04 +01:00
|
|
|
| "disk job fence logic" |
|
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" |
|
2015-11-19 07:38:04 +01:00
|
|
|
| "(maps pieces to file and" | +-------------------+
|
2015-10-11 23:09:30 +02:00
|
|
|
| "offset. reads and writes" |
|
2015-11-19 07:38:04 +01:00
|
|
|
| "to disk)" | +---------------------+
|
|
|
|
| |<-----+ "file_storage" |
|
|
|
|
\----------------------------/ | "standard piece 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
|
|
|
+--------------------------+
|
|
|
|
|