From 098b5d530648147c744a7c2eb8b78c1307f9d3ce Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 28 Oct 2021 14:54:31 +0200 Subject: 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. --- pkg/report/linux.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pkg/report/linux.go') 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"), -- cgit mrf-deployment