Call zvol_create_minors() in spa_open_common() when initializing pool
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Tue, 28 May 2013 11:50:38 +0000 (07:50 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 Jul 2013 16:22:44 +0000 (09:22 -0700)
commit526af78550eb5ccf80ce11e7a9c26f203ae671b0
treeceb4fbcf66950f9898c3018ed8b0fe58d61289e4
parentc76955eaa5477a71f711e6865a923e7055f8b3cb
Call zvol_create_minors() in spa_open_common() when initializing pool

There is an extremely odd bug that causes zvols to fail to appear on
some systems, but not others. Recently, I was able to consistently
reproduce this issue over a period of 1 month. The issue disappeared
after I applied this change from FreeBSD.

This is from FreeBSD's pool version 28 import, which occurred in
revision 219089.

Ported-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #441
Issue #599
module/zfs/spa.c
module/zfs/zfs_ioctl.c