summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Bertschinger <tahbertschinger@gmail.com>2024-05-25 13:36:19 -0600
committerKent Overstreet <kent.overstreet@linux.dev>2024-07-14 19:00:12 -0400
commit51fc436c806c638512ea745579dbc4098a60b2d5 (patch)
tree1c7cb74a997217170ff9b23325c0c2c9f8693134 /tools/perf/scripts/python/export-to-postgresql.py
parent3811f48aa3d6ab97b199bdf4bdacce7abe7cfdeb (diff)
bcachefs: allow passing full device path for target options
The output of mount options such as "metadata_target" in `/proc/mounts` uses the full path to the device. mount(8) from util-linux uses the output from `/proc/mounts` to pass existing mount options when performing a remount, so bcachefs should accept as input the same form that it prints as output. Without this change: $ mount -t bcachefs -o metadata_target=vdb /dev/vdb /mnt $ strace mount -o remount /mnt ... fsconfig(4, FSCONFIG_SET_STRING, "metadata_target", "/dev/vdb", 0) = -1 EINVAL (Invalid argument) ... Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions