[Bug 282134] [ext2fs] watchdogd fired (with one hour timeout)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Oct 2024 21:59:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282134
--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e2414d91d33f31d6f2c9f49eef7a1553b5798c9e
commit e2414d91d33f31d6f2c9f49eef7a1553b5798c9e
Author: Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2024-10-22 21:54:34 +0000
Commit: Doug Moore <dougm@FreeBSD.org>
CommitDate: 2024-10-22 21:54:34 +0000
vfs_subr: maintain sorted tailq
Pctries are based on unsigned index values. Type daddr_t is
signed. Using daddr_t as an index type for a pctrie works, except that
the pctrie considers negative values greater than nonnegative
ones. Building a sorted tailq of bufs, based on pctrie results, sorts
negative daddr_ts larger than nonnegative ones, and makes code that
depends on the tailq being actually sorted broken.
Write wrappers for the functions that do pctrie operations that depend
on index ordering that fix the order problem, and use them in place of
direct pctrie operations.
PR: 282134
Reported by: pho
Reviewed by: kib, markj
Tested by: pho
Fixes: 2c8caa4b3925aa7335 vfs_subr: optimize inval_buf_range
Differential Revision: https://reviews.freebsd.org/D47200
sys/kern/vfs_subr.c | 56 +++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 44 insertions(+), 12 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.