aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-07-10 20:30:04 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:10:07 -0400
commitf39d1aca4de011949b1b1c636de3146f3b7c1384 (patch)
tree46691098043c7c43b70c8341d1c36c3e5f9f74b7 /tools/perf/scripts/python/flamegraph.py
parenta09818c7e78633ee8a6d147ea5bf074d60ea66cd (diff)
bcachefs: Add buffered IO fallback for userspace
In userspace, we want to be able to switch to buffered IO when we're dealing with an image on a filesystem/device that doesn't support the blocksize the filesystem was formatted with. This plumbs through !opts.direct_io -> FMODE_BUFFERED, which will be supported by the shim version of blkdev_get_by_path() in -tools, and it adds a fallback to disable direct IO and retry for userspace. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions