part_block: support for up to 128 session

Allow sessions for each of the 128 sessions supported by GPT.

Fix #3705
This commit is contained in:
Ehmry - 2020-03-20 20:10:28 +05:30
parent d5518aa5a2
commit 1b8f44e808
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class Block::Main : Rpc_object<Typed_root<Session>>,
Gpt _gpt { _env, _block, _heap, _reporter };
Partition_table &_partition_table { _table() };
enum { MAX_SESSIONS = 32 };
enum { MAX_SESSIONS = 128 };
Session_component *_sessions[MAX_SESSIONS] { };
Job_queue<128> _job_queue { };
Registry<Block::Job> _job_registry { };