summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKent Overstreet2019-10-25 18:54:58 -0400
committerKent Overstreet2023-10-22 17:08:30 -0400
commit406d6d5a0733f3eacbcd4c33905bf63c5b2f4c07 (patch)
treead46d529c76693d301194f7d4c3f1e3dc6475c37 /tools/perf/scripts/python/libxed.py
parent92384391c8d04642bb2be1e0c34f744675f50abc (diff)
bcachefs: Fix an error path race
On IO error, bch2_writepages_io_done() will set the page state to indicate nothing's already reserved (since the write didn't happen, we don't know what's already reserved). This can race with the buffered IO path, in between getting a disk reservation and calling bch2_set_page_dirty(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions