{
  "schemaVersion": 1,
  "evidenceType": "source-derived worked examples",
  "source": "https://raw.githubusercontent.com/torvalds/linux/v6.18/fs/remap_range.c",
  "sourceVersion": "Linux v6.18",
  "scope": "Distinct eligible files, zero offsets, 4096-byte blocks, in-range requests <= 1 GiB, successful callback following generic preparation. No filesystem-specific restrictions, I/O, faults, allocation or durability are simulated.",
  "generatorSha256": "bba335c09e0e5dd2fee32b6a6f79fc72326f30a89bb346b2835217ce6a28db8e",
  "cases": [
    {
      "label": "Aligned prefix",
      "requestedBytes": 98304,
      "sourceSizeBytes": 100000,
      "destinationSizeBytes": 250000,
      "blockSizeBytes": 4096,
      "preparedBytes": 98304,
      "reportedBytes": 98304
    },
    {
      "label": "Unequal-length prefix",
      "requestedBytes": 100000,
      "sourceSizeBytes": 100000,
      "destinationSizeBytes": 250000,
      "blockSizeBytes": 4096,
      "preparedBytes": 98304,
      "reportedBytes": 100000
    },
    {
      "label": "Both files end here",
      "requestedBytes": 100000,
      "sourceSizeBytes": 100000,
      "destinationSizeBytes": 100000,
      "blockSizeBytes": 4096,
      "preparedBytes": 100000,
      "reportedBytes": 100000
    },
    {
      "label": "Sub-block prefix",
      "requestedBytes": 1696,
      "sourceSizeBytes": 1696,
      "destinationSizeBytes": 8192,
      "blockSizeBytes": 4096,
      "preparedBytes": 0,
      "reportedBytes": 1696
    }
  ]
}
