git: DragonFly_RELEASE_6_4 kern: avoid reading a disk label while dumping
Aaron LI
aly at crater.dragonflybsd.org
Thu Nov 12 23:21:42 PST 2026
commit c2b89dad407451df10f011655a07223ad31ba9db
Author: David Bidner <david at crap.solutions>
Date: Sun Oct 4 09:53:57 2026 +0200
kern: avoid reading a disk label while dumping
Checking an unlabelled dump slice can trigger a disk-label read through
normal buffered I/O. During a crash dump, that read can wait indefinitely
before the dump writer reaches its polled I/O path.
Skip the label read while dumping and use the slice bounds already held
in memory, keeping the normal label probe outside the dump path.
Bug: https://bugs.dragonflybsd.org/issues/3441
Summary of changes:
sys/kern/subr_diskslice.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c2b89dad407451df10f011655a07223ad31ba9db
--
DragonFly BSD source repository
More information about the Commits
mailing list