aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPrakash Surya <[email protected]>2014-10-06 16:32:36 +0200
committerBrian Behlendorf <[email protected]>2014-11-14 15:37:45 -0800
commitfb42a4932886656a5e3a8a4cde6ea76ca7fbae7c (patch)
tree718251a3ccf09493aa3e80a35f129c75e30b2e4d /include
parenta82db4e15fcd882898595a40bba0d3b08548cd95 (diff)
Illumos 5213 - panic in metaslab_init due to space_map_open returning ENXIO
5213 panic in metaslab_init due to space_map_open returning ENXIO Reviewed by: Matthew Ahrens [email protected] Reviewed by: George Wilson [email protected] References: https://www.illumos.org/issues/5213 https://reviews.csiden.org/r/110 Porting notes: For the Linux port, KM_SLEEP was replaced with KM_PUSHPAGE. Ported by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2745
Diffstat (limited to 'include')
-rw-r--r--include/sys/metaslab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/metaslab.h b/include/sys/metaslab.h
index 962dafca4..5f831a1f5 100644
--- a/include/sys/metaslab.h
+++ b/include/sys/metaslab.h
@@ -42,8 +42,8 @@ typedef struct metaslab_ops {
extern metaslab_ops_t *zfs_metaslab_ops;
-metaslab_t *metaslab_init(metaslab_group_t *, uint64_t,
- uint64_t, uint64_t);
+int metaslab_init(metaslab_group_t *, uint64_t, uint64_t, uint64_t,
+ metaslab_t **);
void metaslab_fini(metaslab_t *);
void metaslab_load_wait(metaslab_t *);