-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor device creation/removal (Kernel)
With the update to onnv_141 how minor devices were created and removed for ZVOL was substantially changed. The updated system is much more tightly integrated with Solaris's /dev/ filesystem. This is great for Solaris but bad for Linux. On the kernel side the ZFS_IOC_{CREATE,REMOVE}_MINOR ioctl entry points have been re-added. They now call directly in to the ZVOL to create the needed minor node and add the sysfs entried for udev. Also as part of this change I've decided it would really be best if all the zvols were in a /dev/zvol directory like on Solaris. Organizationally this makes sense and on the code side it allows us to know a block device is a zvol simply by where it is located in /dev/. Unless Solaris there still is to ./dsk or ./rdsk as part of the path.
- Loading branch information
1 parent
96ae916
commit f162433
Showing
5 changed files
with
94 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters