diff options
| author | kawaii-shakal <deusex1998@gmail.com> | 2026-11-25 14:20:30 +0500 |
|---|---|---|
| committer | kawaii-shakal <deusex1998@gmail.com> | 2026-11-25 14:20:30 +0500 |
| commit | 7b251064ade817ade05a1bfe40d160558ac62604 (patch) | |
| tree | d284eed752168f80d851747cff2a2c0f74d9e860 /runtime/src/thread_stacks.cpp | |
| parent | 626d1281af490b0a888443d6b0b7cb5433b94abe (diff) | |
dstorage: rebuild a BC6H/BC7 request with a few lost blocks instead of failing it (BCPACK-LOST-BLOCK-LIMIT)
A fitted BPTC request whose predictor chains reach a history entry the
local profile does not know was refused once more than max(2, blocks/1024)
blocks were affected, leaving the whole destination untouched. On the
1.0.2.1 package two BC7 requests fail this way at every boot, with one
unknown endpoint entry each (5 of 1,536 and 15 of 768 blocks).
bcpack::decode gets a separate limit for these lost blocks (lost_divisor,
1024 by default, as before) and an optional Report with the block and
lost counts. DirectStorage passes 32 (LEONIDA_DSTORAGE_LOST_DIVISOR) and
logs each approximated request. Inconsistent blocks keep the 1-in-1,024
limit; strict mode refuses any lost block.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions