diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-10-28 14:54:31 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-10-29 10:10:44 +0200 |
| commit | 098b5d530648147c744a7c2eb8b78c1307f9d3ce (patch) | |
| tree | 4825123e2b7198a8d81799790778d6b323f6bf91 /pkg/report/linux.go | |
| parent | b2fb4cbc9a5ecbe98e1fa715b81e17eee621fd2a (diff) | |
pkg/report: merge "BUG: Dentry still in use" bugs
This bug message includes filesystem type and block device name.
Both can lead to excessive duplicates.
Merge all such bugs together.
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 0cc43bcf8..b3d865358 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1406,8 +1406,13 @@ var linuxOopses = append([]*oops{ noStackTrace: true, }, { - title: compile("BUG: Dentry .* still in use \\([0-9]+\\) \\[unmount of ([^\\]]+)\\]"), - fmt: "BUG: Dentry still in use [unmount of %[1]v]", + // Kernel includes filesystem type and block device name into the message. + // We used to include them, but block devices are plain harmful (loop0/1/2), + // and filesystem type also leads to duplicates. So now we exclude them. + title: compile("BUG: Dentry .* still in use"), + report: compile("BUG: Dentry .* still in use \\([0-9]+\\) \\[(unmount) of ([^\\]]+)\\]"), + fmt: "BUG: Dentry still in use in %[1]v", + alt: []string{"BUG: Dentry still in use [%[1]v of %[2]v]"}, }, { title: compile("BUG: Bad page state"), |
