Files
LithosAnanke/logs/20261120-blocks/before-64.txt
T
Claude 63e9966abc block layer: a read or a writeback that fails is refused, not taken as blank or dropped (#187)
A disk header that cannot be read refuses the attach (BLK_EIO, with a
message naming the disk by size); it was taken as blank and offered for
a format. A data read that fails is refused, not cached as zeros. An
eviction whose writeback fails keeps the slot and refuses the new one;
the changes were lost. test_host_blocks, a device whose reads can fail:
7 of 65 failed against the old code, 65 pass (63 at 32 bits). The
test's own errors (a detached device not reopened; two devices declared
out of the later checks' scope) corrected. ident_attach_fail on amd64:
the attach refused; its two failures left are #179's. The five write
results still thrown away are reported, not changed. Gates pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 00:37:33 +00:00

18 lines
3.4 KiB
Plaintext

make: Entering directory '/home/user/LithosAnanke/v4'
cd /home/user/LithosAnanke/v4/build/v3o && cc -std=gnu99 -Wall -O2 -g -I/home/user/LithosAnanke/v3/include -I/home/user/LithosAnanke/kernel/include -c /home/user/LithosAnanke/v3/src/block_subsystem.c /home/user/LithosAnanke/v3/src/blkio_ram.c /home/user/LithosAnanke/v3/src/blkio_file.c /home/user/LithosAnanke/v3/src/log.c /home/user/LithosAnanke/v3/src/platform/platform_init.c /home/user/LithosAnanke/v3/src/platform/linux/time.c
ld -r /home/user/LithosAnanke/v4/build/v3o/*.o -o /home/user/LithosAnanke/v4/build/v3blocks.o
cc -std=c99 -Wall -Wextra -Wpedantic -Werror -O2 -g -I/home/user/LithosAnanke/v4/include -isystem /home/user/LithosAnanke/v3/include -isystem /home/user/LithosAnanke/kernel/include -DV4_CELL_BITS=64 -DV4_NODE_WORDS=32768 -DV4_DATA_RING=1022 -DV4_RET_RING=31 -DV4_ROM_WORDS=4096 -DV4_CAPSULE_DIR='"/home/user/LithosAnanke/v4/capsule"' -DV4_SYS_DIR='"/home/user/LithosAnanke/capsules/v4/sys"' -DV4_ROM_LINKED -DV4_ROM_SYM='"/home/user/LithosAnanke/v4/build/rom-64.sym"' -DV4_MESH_ROM_SYM='"/home/user/LithosAnanke/v4/build/mesh-rom-64.sym"' /home/user/LithosAnanke/v4/tests/test_host_blocks.c /home/user/LithosAnanke/v4/src/artifact.c /home/user/LithosAnanke/v4/src/asm.c /home/user/LithosAnanke/v4/src/capsule.c /home/user/LithosAnanke/v4/src/effect.c /home/user/LithosAnanke/v4/src/exec.c /home/user/LithosAnanke/v4/src/fabric.c /home/user/LithosAnanke/v4/src/guard.c /home/user/LithosAnanke/v4/src/heat.c /home/user/LithosAnanke/v4/src/image.c /home/user/LithosAnanke/v4/src/iword.c /home/user/LithosAnanke/v4/src/manage.c /home/user/LithosAnanke/v4/src/message.c /home/user/LithosAnanke/v4/src/node.c /home/user/LithosAnanke/v4/src/place.c /home/user/LithosAnanke/v4/src/stack.c /home/user/LithosAnanke/v4/src/testcode.c /home/user/LithosAnanke/v4/src/text.c /home/user/LithosAnanke/v4/src/umul.c /home/user/LithosAnanke/v4/src/wire.c /home/user/LithosAnanke/v4/system/blocks.c /home/user/LithosAnanke/v4/system/post.c /home/user/LithosAnanke/v4/system/post_cases.c /home/user/LithosAnanke/kernel/src/capsule/capsule_blocks.c /home/user/LithosAnanke/v4/build/v3blocks.o /home/user/LithosAnanke/v4/build/rom-64.c /home/user/LithosAnanke/v4/build/mesh-rom-64.c -o /home/user/LithosAnanke/v4/build/64-test_host_blocks.c
[V4_CELL_BITS=64 run-64-test_host_blocks.c]
v4 block request tests: V4_CELL_BITS=64, V4_NODE_WORDS=32768
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:230: a disk whose header cannot be read is refused (BLK_EIO), not attached as unformatted
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:244: attached again, nothing of it in the cache (flush 0, detach -1, open 0, attach 0, range 0)
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:248: with its data unreadable, the block is refused, not given as zeros
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:265: a block of it, to change
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:269: with writes failing, blocks that would evict it are refused (0 of 24)
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:271: the device works again: everything written, the disk let go and attached again
FAIL /home/user/LithosAnanke/v4/tests/test_host_blocks.c:276: and the changed block is on the disk, not lost:
65 checks, 7 failures
make: *** [Makefile:359: run-64-test_host_blocks.c] Error 1
make: Leaving directory '/home/user/LithosAnanke/v4'
exit 2