summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi Chen <me@linux.beauty>2026-06-30 17:23:27 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-08-19 06:38:45 -0400
commitc644a2f8fef5618fcf453c591177700fd07dd024 (patch)
treef5728bb7a6f2f09296c73341a74cbdc0f6465572 /tools/perf/scripts/python
parent6b7108712a4b1c37cac69815aede1dde202b3187 (diff)
nvdimm: pmem: keep PREFLUSH before data writes
pmem_submit_bio() records a REQ_PREFLUSH error, but continues to copy the bio data and can later overwrite the error with a successful REQ_FUA flush. That lets data writes run after a failed preflush and can complete the bio successfully despite the failed ordering barrier. Run the REQ_PREFLUSH flush synchronously before touching the bio data and complete the bio with the flush error if it fails. Keep asynchronous flush chaining for REQ_FUA. At that point, data copy has completed and the parent bio can wait for the chained flush bio. Signed-off-by: Li Chen <me@linux.beauty> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260630092338.2094628-3-me@linux.beauty>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions