summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
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-03 23:08:17 -0400
commit42c5c8634aae258eb1a1cce8429de581d7046079 (patch)
treedcbdbf34487cd329adf778215f371059203c2854 /scripts/Makefile.thinlto
parent1d04623fb8d96fa0c2539239faf9c394d8cdf7c0 (diff)
downloadlinux-next-42c5c8634aae258eb1a1cce8429de581d7046079.tar.gz
linux-next-42c5c8634aae258eb1a1cce8429de581d7046079.zip
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions