freebsd-dev/sys/cddl/contrib/opensolaris/uts
Steven Hartland 99140218aa Fix various issues with zvols
When performing snapshot renames we could deadlock due to the locking
in zvol_rename_minors. In order to avoid this use the same workaround
as zvol_open in zvol_rename_minors.

Add missing zvol_rename_minors to dsl_dataset_promote_sync.

Protect against invalid index into zv_name in zvol_remove_minors.

Replace zvol_remove_minor calls with zvol_remove_minors to ensure
any potential children are also renamed.

Don't fail zvol_create_minors if zvol_create_minor returns EEXIST.

Restore the valid pool check in zfs_ioc_destroy_snaps to ensure we
don't call zvol_remove_minors when zfs_unmount_snap fails.

PR:		193803
MFC after:	1 week
Sponsored by:	Multiplay
2014-10-03 14:49:48 +00:00
..
common Fix various issues with zvols 2014-10-03 14:49:48 +00:00
intel DTrace's pid provider works by inserting breakpoint instructions at probe 2014-04-14 00:22:42 +00:00
mips Add MIPS support to cddl/contrib part: 2012-03-24 04:52:18 +00:00
powerpc Correct the check for errors from proc_rwmem(). 2013-12-11 04:31:40 +00:00
sparc MFC r270195: 2014-08-20 21:44:48 +00:00