Subject: soc zfs: zvol & DK_XNAME_SIZE
To: None <tech-kern@netbsd.org>
From: Oliver Gould <ogould@olix0r.net>
List: tech-kern
Date: 07/26/2007 11:08:47
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?

  - Oliver