diff options
author | George Wilson <[email protected]> | 2012-04-08 13:23:08 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-04-11 11:32:06 -0700 |
commit | 5ffb9d1d05d7c512b987dff51f587466d537770f (patch) | |
tree | 9ac15361477cfe4f3e34d1bfb1c27e978dbb3530 /include/sys | |
parent | b129c6590e07edcc95f3b64ec210d94cf885c192 (diff) |
Illumos #1951: leaking a vdev when removing an l2cache device
1952 memory leak when adding a file-based l2arc device
1954 leak in ZFS from metaslab_group_create and zfs_ereport_checksum
Reviewed by: Adam Leventhal <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Eric Schrock <[email protected]>
Reviewed by: Bill Pijewski <[email protected]>
Reviewed by: Dan McDonald <[email protected]>
Approved by: Eric Schrock <[email protected]>
References to Illumos issues:
https://www.illumos.org/issues/1951
https://www.illumos.org/issues/1952
https://www.illumos.org/issues/1954
Ported-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #650
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/vdev_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/vdev_impl.h b/include/sys/vdev_impl.h index 161bd21f0..1df61a587 100644 --- a/include/sys/vdev_impl.h +++ b/include/sys/vdev_impl.h @@ -261,6 +261,7 @@ typedef struct vdev_label { #define VDEV_ALLOC_L2CACHE 3 #define VDEV_ALLOC_ROOTPOOL 4 #define VDEV_ALLOC_SPLIT 5 +#define VDEV_ALLOC_ATTACH 6 /* * Allocate or free a vdev |