zfs/module/zfs
Brian Behlendorf f162433deb 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.
2010-08-02 11:49:08 -07:00
..
include/sys Minor device creation/removal (Kernel) 2010-08-02 11:49:08 -07:00
Makefile.in Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-06-14 15:52:11 -07:00
arc.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-06-14 15:37:03 -07:00
bplist.c Update gcc-no-parenthesis 2010-06-14 15:16:41 -07:00
bpobj.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
dbuf.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-16 14:43:17 -07:00
ddt.c Update gcc-c90 2010-06-14 15:15:26 -07:00
ddt_zap.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
dmu.c Linux bcopy() requires word aligned memory, use memcpy() 2010-06-28 11:26:20 -07:00
dmu_object.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
dmu_objset.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-28 10:36:19 -07:00
dmu_send.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-16 14:43:17 -07:00
dmu_traverse.c Merge branch 'fix-stack-traverse_visitbp' into refs/top-bases/fix-branch 2010-06-29 16:57:39 -07:00
dmu_tx.c Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch 2010-06-14 15:37:00 -07:00
dmu_zfetch.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-06-14 15:37:03 -07:00
dnode.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-05-28 15:45:38 -07:00
dnode_sync.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-05-28 15:45:38 -07:00
dsl_dataset.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-29 10:55:38 -07:00
dsl_deadlist.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
dsl_deleg.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-16 13:53:07 -07:00
dsl_dir.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-16 12:44:08 -07:00
dsl_pool.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-06-14 15:36:59 -07:00
dsl_prop.c Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch 2010-06-14 15:36:59 -07:00
dsl_scan.c Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch 2010-06-14 15:51:50 -07:00
dsl_synctask.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
fm.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
gzip.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-11 11:09:11 -07:00
lzjb.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-14 16:45:46 -07:00
metaslab.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-14 16:45:46 -07:00
refcount.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
rrwlock.c Linux ZVOL implementation; kernel-side changes 2009-11-20 11:06:59 -08:00
sa.c Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2010-06-14 15:37:01 -07:00
sha256.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
spa.c Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch 2010-06-14 15:37:00 -07:00
spa_boot.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
spa_config.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
spa_errlog.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
spa_history.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
spa_misc.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-06-14 15:37:26 -07:00
space_map.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
txg.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
uberblock.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
unique.c Added 'gcc-ident-pragmas' branch. 2009-03-11 10:59:45 -07:00
vdev.c Minor device creation/removal (Kernel) 2010-08-02 11:49:08 -07:00
vdev_cache.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
vdev_disk.c Replace SBUG with PANIC macro 2010-07-20 13:36:50 -07:00
vdev_file.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
vdev_label.c Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2010-06-16 12:11:18 -07:00
vdev_mirror.c Merge commit 'refs/top-bases/gcc-c90' into gcc-c90 2010-05-28 14:19:22 -07:00
vdev_missing.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
vdev_queue.c Merge commit 'refs/top-bases/gcc-c90' into gcc-c90 2010-05-28 14:19:22 -07:00
vdev_raidz.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-06-28 10:36:13 -07:00
vdev_root.c Merge commit 'refs/top-bases/gcc-c90' into gcc-c90 2010-05-28 14:19:22 -07:00
zap.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-05-28 15:45:38 -07:00
zap_leaf.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
zap_micro.c Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-06-14 15:37:03 -07:00
zfs_acl.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_byteswap.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
zfs_ctldir.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_debug.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zfs_dir.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_fm.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zfs_fuid.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_ioctl.c Minor device creation/removal (Kernel) 2010-08-02 11:49:08 -07:00
zfs_log.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_replay.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_rlock.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00
zfs_sa.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zfs_vfsops.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_vnops.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-05-28 21:26:02 -07:00
zfs_znode.c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-06-14 15:37:26 -07:00
zil.c Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2010-06-14 15:37:01 -07:00
zio.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-28 10:36:19 -07:00
zio_checksum.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zio_compress.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zio_inject.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zle.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zvol.c Minor device creation/removal (Kernel) 2010-08-02 11:49:08 -07:00