This commit is contained in:
2026-08-18 09:20:44 +02:00
commit b826cd721a
522 changed files with 93730 additions and 0 deletions
+138
View File
@@ -0,0 +1,138 @@
{
"schema": 1,
"candidate": "P15-074",
"b07_oracle_sha256": "811578b398ea81cb4e944630d46a7be501b3e87fa771eb82dc3ca6e6d387841a",
"b07_tuple_layout": "<QQQQH2xIiiII",
"expected_transformed_tuple_sha256": "cad0ec3fd5c4b72e316fed5c70fe0d080d37c56d579913c50f887cc6ca5add8e",
"b07_transforms": [
{"id": "plain-start", "m_llen": 12288, "m_plen": 12288},
{"id": "plain-block-last", "m_llen": 8193, "m_plen": 8193},
{"id": "plain-second-start", "m_llen": 8192, "m_plen": 8192},
{"id": "plain-hole-start", "m_llen": 12288, "m_plen": 12288},
{"id": "plain-hole-edge", "m_llen": 8193, "m_plen": 8193},
{"id": "plain-shift-overflow", "m_llen": 12288, "m_plen": 12288},
{"id": "plain-add-overflow", "m_llen": 8192, "m_plen": 8192}
],
"map_cases": [
{
"id": "plain-full-run",
"request": 0,
"inode": {"layout": 0, "size": 20000, "startblk": 32},
"expected": {"m_la": 0, "m_pa": 131072, "m_llen": 20000, "m_plen": 20000, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "plain-unaligned-run",
"request": 4095,
"inode": {"layout": 0, "size": 20000, "startblk": 32},
"expected": {"m_la": 4095, "m_pa": 135167, "m_llen": 15905, "m_plen": 15905, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "plain-run-exceeds-test-maxphys",
"request": 1,
"inode": {"layout": 0, "size": 50000, "startblk": 32},
"expected": {"m_la": 1, "m_pa": 131073, "m_llen": 49999, "m_plen": 49999, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "plain-hole-full-run",
"request": 257,
"inode": {"layout": 0, "size": 20000, "startblk": 4294967295},
"expected": {"m_la": 257, "m_pa": 0, "m_llen": 19743, "m_plen": 19743, "m_deviceid": 0, "m_flags": 0, "errno": 0}
},
{
"id": "plain-final-byte",
"request": 19999,
"inode": {"layout": 0, "size": 20000, "startblk": 32},
"expected": {"m_la": 19999, "m_pa": 151071, "m_llen": 1, "m_plen": 1, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "plain-eof",
"request": 20000,
"inode": {"layout": 0, "size": 20000, "startblk": 32},
"expected": {"m_la": 20000, "m_pa": 0, "m_llen": 0, "m_plen": 0, "m_deviceid": 0, "m_flags": 0, "errno": 0}
},
{
"id": "plain-post-eof",
"request": 20017,
"inode": {"layout": 0, "size": 20000, "startblk": 32},
"expected": {"m_la": 20017, "m_pa": 0, "m_llen": 0, "m_plen": 0, "m_deviceid": 0, "m_flags": 0, "errno": 0}
},
{
"id": "plain-empty",
"request": 0,
"inode": {"layout": 0, "size": 0, "startblk": 32},
"expected": {"m_la": 0, "m_pa": 0, "m_llen": 0, "m_plen": 0, "m_deviceid": 0, "m_flags": 0, "errno": 0}
},
{
"id": "plain-shift-overflow",
"request": 0,
"inode": {"layout": 0, "size": 20000, "startblk": 4503599627370496},
"expected": {"m_la": 0, "m_pa": 0, "m_llen": 20000, "m_plen": 20000, "m_deviceid": 0, "m_flags": 0, "errno": 97}
},
{
"id": "plain-add-overflow",
"request": 4096,
"inode": {"layout": 0, "size": 20000, "startblk": 4503599627370495},
"expected": {"m_la": 4096, "m_pa": 0, "m_llen": 15904, "m_plen": 15904, "m_deviceid": 0, "m_flags": 0, "errno": 97}
},
{
"id": "pre-inline-head-start",
"request": 0,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 0, "m_pa": 163840, "m_llen": 12288, "m_plen": 12288, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "pre-inline-head-unaligned",
"request": 4095,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 4095, "m_pa": 167935, "m_llen": 8193, "m_plen": 8193, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "pre-inline-head-second-block",
"request": 4096,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 4096, "m_pa": 167936, "m_llen": 8192, "m_plen": 8192, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "pre-inline-head-final-byte",
"request": 12287,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 12287, "m_pa": 176127, "m_llen": 1, "m_plen": 1, "m_deviceid": 0, "m_flags": 1, "errno": 0}
},
{
"id": "pre-inline-head-hole",
"request": 1,
"inode": {"layout": 2, "size": 13000, "startblk": 4294967295, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 1, "m_pa": 0, "m_llen": 12287, "m_plen": 12287, "m_deviceid": 0, "m_flags": 0, "errno": 0}
},
{
"id": "inline-tail-start",
"request": 12288,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 12288, "m_pa": 8288, "m_llen": 712, "m_plen": 712, "m_deviceid": 0, "m_flags": 3, "errno": 0}
},
{
"id": "inline-tail-middle",
"request": 12500,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 12500, "m_pa": 8500, "m_llen": 500, "m_plen": 500, "m_deviceid": 0, "m_flags": 3, "errno": 0}
},
{
"id": "inline-tail-final-byte",
"request": 12999,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 12999, "m_pa": 8999, "m_llen": 1, "m_plen": 1, "m_deviceid": 0, "m_flags": 3, "errno": 0}
},
{
"id": "inline-tail-after-hole-head",
"request": 12288,
"inode": {"layout": 2, "size": 13000, "startblk": 4294967295, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 12288, "m_pa": 8288, "m_llen": 712, "m_plen": 712, "m_deviceid": 0, "m_flags": 3, "errno": 0}
},
{
"id": "inline-eof",
"request": 13000,
"inode": {"layout": 2, "size": 13000, "startblk": 40, "inode_off": 8192, "inode_isize": 64, "xattr_isize": 32},
"expected": {"m_la": 13000, "m_pa": 0, "m_llen": 0, "m_plen": 0, "m_deviceid": 0, "m_flags": 0, "errno": 0}
}
]
}