git: usr.sbin/makefs: Panic if fifo hits HAMMER2_XOPFIFO

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Sep 2 23:51:04 PDT 2022


commit ff97a50f026624412f089c1653dfd61c7502b098
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Fri Sep 2 10:40:06 2022 -0700

    usr.sbin/makefs: Panic if fifo hits HAMMER2_XOPFIFO
    
    tsleep() calls assert(0), but explicitly panic if feed detects
    fifo limit. HAMMER2 in makefs has no dedicated XOP threads,
    so it can't sleep and nobody can wake it up.

Summary of changes:
 usr.sbin/makefs/hammer2/hammer2_admin.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff97a50f026624412f089c1653dfd61c7502b098


-- 
DragonFly BSD source repository


More information about the Commits mailing list