part_block: support for up to 128 sessions
Allow sessions for each of the 128 sessions supported by GPT. Fix #3705
This commit is contained in:
committed by
Norman Feske
parent
6f3f46c7ba
commit
45a74023a7
@@ -226,7 +226,7 @@ class Block::Main : Rpc_object<Typed_root<Session>>,
|
|||||||
Gpt _gpt { _env, _block, _heap, _reporter };
|
Gpt _gpt { _env, _block, _heap, _reporter };
|
||||||
Partition_table &_partition_table { _table() };
|
Partition_table &_partition_table { _table() };
|
||||||
|
|
||||||
enum { MAX_SESSIONS = 32 };
|
enum { MAX_SESSIONS = 128 };
|
||||||
Session_component *_sessions[MAX_SESSIONS] { };
|
Session_component *_sessions[MAX_SESSIONS] { };
|
||||||
Job_queue<128> _job_queue { };
|
Job_queue<128> _job_queue { };
|
||||||
Registry<Block::Job> _job_registry { };
|
Registry<Block::Job> _job_registry { };
|
||||||
|
|||||||
Reference in New Issue
Block a user