diff options
author | Ian Kent <[email protected]> | 2023-10-23 17:33:59 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-10-24 11:04:45 +0200 |
commit | d3c50061765d4b5616dc97f5804fc18122598a9b (patch) | |
tree | fbf708b0abe1011431782dc4bdbf33ee1258cf56 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 9cf16b380af5bab7d0952b9aad0601ebf986de69 (diff) |
autofs: fix add autofs_parse_fd()
We are seeing systemd hang on its autofs direct mount at
/proc/sys/fs/binfmt_misc.
Historically this was due to a mismatch in the communication structure
size between a 64 bit kernel and a 32 bit user space and was fixed by
making the pipe communication record oriented.
During autofs v5 development I decided to stay with the existing usage
instead of changing to a packed structure for autofs <=> user space
communications which turned out to be a mistake on my part.
Problems arose and they were fixed by allowing for the 64 bit to 32
bit size difference in the automount(8) code.
Along the way systemd started to use autofs and eventually encountered
this problem too. systemd refused to compensate for the length
difference insisting it be fixed in the kernel. Fortunately Linus
implemented the packetized pipe which resolved the problem in a
straight forward and simple way.
In the autofs mount api conversion series I inadvertatly dropped the
packet pipe flag settings when adding the autofs_parse_fd() function.
This patch fixes that omission.
Fixes: 546694b8f658 ("autofs: add autofs_parse_fd()")
Signed-off-by: Ian Kent <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Anders Roxell <[email protected]>
Cc: Bill O'Donnell <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Anders Roxell <[email protected]>
Cc: Naresh Kamboju <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Reported-by: Linux Kernel Functional Testing <[email protected]>
Reported-by: Anders Roxell <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions