{
  "status": "research",
  "advantages": [
    {
      "text": "Applications keep the synchronous I/O interface and do not need to be modified.",
      "citationIds": [
        "rethink-tocs"
      ]
    }
  ],
  "limitations": [
    {
      "text": "For dependencies spanning different file systems, the authors propose blocking before the second write until prior work commits; this is not a demonstrated cross-filesystem transaction protocol.",
      "citationIds": [
        "rethink-tocs"
      ]
    },
    {
      "text": "Work that produced no external output can still be lost in a crash before the next periodic commit.",
      "citationIds": [
        "external-synchrony"
      ]
    },
    {
      "text": "Catastrophic media errors may be detected after the application has continued; the authors rejected checkpoint-and-rollback recovery rather than implementing it.",
      "citationIds": [
        "rethink-tocs"
      ]
    },
    {
      "text": "When it cannot track causality through an operation such as ioctl, the prototype blocks the caller until dependencies commit; execution is not always nonblocking.",
      "citationIds": [
        "rethink-tocs"
      ]
    },
    {
      "text": "External synchrony does not itself promise atomic writes or prevent disk corruption; xsyncfs used full-data journaling, adding journal-transaction atomicity beyond that contract.",
      "citationIds": [
        "rethink-tocs"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-01",
  "slug": "external-synchrony",
  "term": "External synchrony",
  "aliases": [
    "externally synchronous I/O"
  ],
  "definition": "External synchrony delays causally dependent external output until the underlying file modifications are durable, while allowing internal execution to continue.",
  "note": "Equivalence matches output values and causal order; a disk commit becomes observable after a crash and reboot. Hesela interprets this as semantics, not identical wall-clock timing. Xsyncfs returns from filesystem calls before commit and records a process dependency. Pipes, UNIX sockets, shared memory and the file cache propagate dependencies; dependent screen, network and device output waits for commit. [external-synchrony] [rethink-tocs]\n\nOutput triggers a commit when it depends on pending changes; without output, commits occur every 5 seconds, as in asynchronous ext3. In PostMark, xsyncfs completion time was within 7% of asynchronous ext3; synchronously mounted ext3 with write barriers took over two orders of magnitude longer. This is a workload-specific result, not a bound for all workloads. [external-synchrony] [rethink-tocs]\n\nShared-memory tracking is conservative: a process with write permission transfers its commit dependency to processes with read permission, without observing an actual read. Memory-mapped files use the same approach, and a dependency acquired by one thread reaches all threads in that process. This may delay output that did not actually consume the changed data. A tracked dependency is therefore not a measured data-flow edge. These are historical prototype choices, not current Linux guarantees. [rethink-tocs]\n\nIn the 2008 two-machine MySQL test, xsyncfs achieved lower throughput than asynchronous ext3 with write barriers. The diagnostic xsyncfs-noshm variant disabled shared-memory dependency propagation and nearly matched that comparator. Hesela interprets this as evidence that conservative dependency propagation can reduce throughput, not evidence of preserved guarantees for arbitrary shared-memory applications. [rethink-tocs]",
  "related": [
    "persistence-ordering",
    "crash-consistency",
    "optimistic-crash-consistency"
  ],
  "citations": [
    {
      "id": "external-synchrony",
      "title": "Nightingale, Veeraraghavan, Chen and Flinn. Rethink the Sync. OSDI 2006, pp. 1-14.",
      "url": "https://static.usenix.org/events/osdi06/tech/nightingale/nightingale_html/index.html",
      "accessed": "2026-11-01"
    },
    {
      "id": "rethink-tocs",
      "title": "Nightingale et al. Rethink the Sync. TOCS 26(3):6 (2008), sections 2.2-2.5, 3.1, 3.2-3.3, 3.4-3.6, 4.3, 4.5. DOI:10.1145/1394441.1394442.",
      "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/rethink.sync_.tocs_.pdf",
      "accessed": "2026-11-01"
    }
  ],
  "provenance": [
    "external-synchrony is the OSDI 2006 paper, read for the definition, output-triggered commits and the benchmark comparison with ext3.",
    "The 2008 journal version, section 2.5 (p. 6:8), presents cross-filesystem blocking as a proposal; section 3.6 (p. 6:13) describes conservative shared-memory tracking.",
    "Performance figures are research measurements from the papers and were not reproduced.",
    "The 2026-11-01 review used the journal copy at https://courses.cs.duke.edu/compsci510/spring17/resources/papers/rethink.sync.tocs.pdf. No prototype or performance experiment was rerun.",
    "Evaluation scope checked against TOCS section 4.3 (PostMark) and section 4.5, Figure 6B (remote-client MySQL). The Microsoft-hosted journal text was accessible in this follow-up; the no-shared-memory qualification is Hesela's interpretation.",
    "TOCS 2008 section 2.5, pp. 6:7-6:8, and section 3.1, p. 6:9: late media failures and deliberately omitted rollback; reviewed 2026-11-01. Historical design, not a modern Linux error-handling guarantee.",
    "TOCS sections 2.3 and 3.4 describe blocking for untracked operations. Section 4.5 used UNIX sockets in the local MySQL benchmark to propagate dependencies; reviewed 2026-11-01.",
    "TOCS sections 2.2 (pp. 6:5-6:6), 3.2 (p. 6:9) and 3.3 (pp. 6:10-6:11) distinguish output equivalence from the journal implementation. Timing qualification is Hesela's interpretation of the formal criterion; independently source-reviewed 2026-11-01."
  ]
}
