{
  "generatedAt": "2026-10-20T17:28:12.455139+00:00",
  "kernel": "6.8.0-146-generic",
  "cpVersion": "cp (GNU coreutils) 9.4",
  "cpSha256": "95cdd604fdf0a292e349d27d1a80170ca0913bd3bbd9d2c0fcfc6c8adaebe2f0",
  "straceVersion": "strace -- version 6.8",
  "codeSha256": "abd7eb8429a0f5f2b7a41a1661c94bef7804b099516cda5040cca79f4b091123",
  "cases": [
    {
      "kind": "preallocated",
      "state": "no-preread",
      "source": {
        "stage": "before-copy",
        "size": 1048576,
        "blocks512": 2048,
        "mtimeNs": 1792517292348258324,
        "ctimeNs": 1792517292348258324,
        "device": 2049,
        "inode": 3222043,
        "seek": {
          "supported": true,
          "errno": 0,
          "ranges": [],
          "calls": [
            {
              "kind": "data",
              "offset": 0,
              "result": -1,
              "errno": 6
            }
          ],
          "holeFromZero": {
            "result": 0,
            "errno": 0
          },
          "dataBytes": 0
        },
        "fiemap": {
          "return": 0,
          "errno": 0,
          "requestFlags": 0,
          "extents": [
            {
              "logical": 0,
              "length": 1048576,
              "flags": 2049
            }
          ],
          "complete": true
        }
      },
      "destinationAllocatedBytes": 1048576,
      "matchesExpected": true,
      "returncode": 0,
      "debug": "'<fixture>/source' -> '<fixture>/destination'\ncopy offload: yes, reflink: unsupported, sparse detection: no\n",
      "trace": "ioctl(4<<fixture>/destination>, BTRFS_IOC_CLONE or FICLONE, 3) = -1 EOPNOTSUPP (Operation not supported)\ncopy_file_range(3<<fixture>/source>, NULL, 4<<fixture>/destination>, NULL, 9223372035781033984, 0) = 1048576\ncopy_file_range(3<<fixture>/source>, NULL, 4<<fixture>/destination>, NULL, 9223372035781033984, 0) = 0\nlseek(0</dev/null<char 1:3>>, 0, SEEK_CUR) = 0\n"
    },
    {
      "kind": "preallocated",
      "state": "full-preread",
      "source": {
        "stage": "before-copy",
        "size": 1048576,
        "blocks512": 2048,
        "mtimeNs": 1792517292388259608,
        "ctimeNs": 1792517292388259608,
        "device": 2049,
        "inode": 3222043,
        "seek": {
          "supported": true,
          "errno": 0,
          "ranges": [
            [
              0,
              1048576
            ]
          ],
          "calls": [
            {
              "kind": "data",
              "offset": 0,
              "result": 0,
              "errno": 0
            },
            {
              "kind": "hole",
              "offset": 0,
              "result": 1048576,
              "errno": 0
            }
          ],
          "holeFromZero": {
            "result": 1048576,
            "errno": 0
          },
          "dataBytes": 1048576
        },
        "fiemap": {
          "return": 0,
          "errno": 0,
          "requestFlags": 0,
          "extents": [
            {
              "logical": 0,
              "length": 1048576,
              "flags": 2049
            }
          ],
          "complete": true
        }
      },
      "destinationAllocatedBytes": 1048576,
      "matchesExpected": true,
      "returncode": 0,
      "debug": "'<fixture>/source' -> '<fixture>/destination'\ncopy offload: yes, reflink: unsupported, sparse detection: no\n",
      "trace": "ioctl(4<<fixture>/destination>, BTRFS_IOC_CLONE or FICLONE, 3) = -1 EOPNOTSUPP (Operation not supported)\ncopy_file_range(3<<fixture>/source>, NULL, 4<<fixture>/destination>, NULL, 9223372035781033984, 0) = 1048576\ncopy_file_range(3<<fixture>/source>, NULL, 4<<fixture>/destination>, NULL, 9223372035781033984, 0) = 0\nlseek(0</dev/null<char 1:3>>, 0, SEEK_CUR) = 0\n"
    },
    {
      "kind": "preallocated-half",
      "state": "no-preread",
      "source": {
        "stage": "before-copy",
        "size": 1048576,
        "blocks512": 1024,
        "mtimeNs": 1792517292411260346,
        "ctimeNs": 1792517292411260346,
        "device": 2049,
        "inode": 3222043,
        "seek": {
          "supported": true,
          "errno": 0,
          "ranges": [],
          "calls": [
            {
              "kind": "data",
              "offset": 0,
              "result": -1,
              "errno": 6
            }
          ],
          "holeFromZero": {
            "result": 0,
            "errno": 0
          },
          "dataBytes": 0
        },
        "fiemap": {
          "return": 0,
          "errno": 0,
          "requestFlags": 0,
          "extents": [
            {
              "logical": 0,
              "length": 524288,
              "flags": 2049
            }
          ],
          "complete": true
        }
      },
      "destinationAllocatedBytes": 0,
      "matchesExpected": true,
      "returncode": 0,
      "debug": "'<fixture>/source' -> '<fixture>/destination'\ncopy offload: unknown, reflink: unsupported, sparse detection: SEEK_HOLE\n",
      "trace": "ioctl(4<<fixture>/destination>, BTRFS_IOC_CLONE or FICLONE, 3) = -1 EOPNOTSUPP (Operation not supported)\nlseek(3<<fixture>/source>, 0, SEEK_DATA) = -1 ENXIO (No such device or address)\nftruncate(4<<fixture>/destination>, 1048576) = 0\nlseek(0</dev/null<char 1:3>>, 0, SEEK_CUR) = 0\n"
    },
    {
      "kind": "preallocated-half",
      "state": "full-preread",
      "source": {
        "stage": "before-copy",
        "size": 1048576,
        "blocks512": 1024,
        "mtimeNs": 1792517292431260989,
        "ctimeNs": 1792517292431260989,
        "device": 2049,
        "inode": 3222043,
        "seek": {
          "supported": true,
          "errno": 0,
          "ranges": [
            [
              0,
              524288
            ]
          ],
          "calls": [
            {
              "kind": "data",
              "offset": 0,
              "result": 0,
              "errno": 0
            },
            {
              "kind": "hole",
              "offset": 0,
              "result": 524288,
              "errno": 0
            },
            {
              "kind": "data",
              "offset": 524288,
              "result": -1,
              "errno": 6
            }
          ],
          "holeFromZero": {
            "result": 524288,
            "errno": 0
          },
          "dataBytes": 524288
        },
        "fiemap": {
          "return": 0,
          "errno": 0,
          "requestFlags": 0,
          "extents": [
            {
              "logical": 0,
              "length": 524288,
              "flags": 2049
            }
          ],
          "complete": true
        }
      },
      "destinationAllocatedBytes": 524288,
      "matchesExpected": true,
      "returncode": 0,
      "debug": "'<fixture>/source' -> '<fixture>/destination'\ncopy offload: yes, reflink: unsupported, sparse detection: SEEK_HOLE\n",
      "trace": "ioctl(4<<fixture>/destination>, BTRFS_IOC_CLONE or FICLONE, 3) = -1 EOPNOTSUPP (Operation not supported)\nlseek(3<<fixture>/source>, 0, SEEK_DATA) = 0\nlseek(3<<fixture>/source>, 0, SEEK_HOLE) = 524288\nlseek(3<<fixture>/source>, 0, SEEK_SET) = 0\ncopy_file_range(3<<fixture>/source>, NULL, 4<<fixture>/destination>, NULL, 524288, 0) = 524288\nlseek(3<<fixture>/source>, 524288, SEEK_DATA) = -1 ENXIO (No such device or address)\nftruncate(4<<fixture>/destination>, 1048576) = 0\nlseek(0</dev/null<char 1:3>>, 0, SEEK_CUR) = 0\n"
    }
  ]
}
