NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/59674: Unable to create wapbl journal on logical volume with NetBSD 11.0_BETA
The following reply was made to PR kern/59674; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/59674: Unable to create wapbl journal on logical volume with NetBSD 11.0_BETA
Date: Sun, 28 Sep 2025 22:14:10 -0000 (UTC)
cmeerw%cmeerw.org@localhost writes:
>I think the issue is in the handling of DIOCGWEDGEINFO in dev/dm/device-mapper.c where it sets dkw->dkw_parent to dmv->name. Should that maybe also use device_xname(dmv->devt)? (and what should dkw->device_name be set to there?)
Yes, the dm disk name was changed between -10 and -11 (from volume name
to 'dm'+unit number). The same needs to be done for the DIOCWEDGEINFO
code so that disk_find() can locate the disk structure in getdisksize().
Home |
Main Index |
Thread Index |
Old Index