Subject: Re: soc zfs: zvol & DK_XNAME_SIZE
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 07/26/2007 17:33:56
On Thu, Jul 26, 2007 at 11:08:47AM -0400, Oliver Gould wrote:
> Hello-
> 
> ZFS allows emulated volumes (zvols) to have abritrary names of length
> MAXPATHLEN.  In the dk_softc structure, however, the length of sc_xname
> is capped at DK_XNAME_SIZE, which is currently defined at 8.
> 
> Is it reasonable to set DK_XNAME_SIZE to MAXPATHLEN to accommodate
> ZVOLs?

Aren't you confusing dkwedge_softc's sc_wname with the *device* name?

Joerg