mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 19:57:43 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
c76955eaa5
commit
526af78550
@@ -1268,9 +1268,6 @@ zfs_ioc_pool_import(zfs_cmd_t *zc)
|
||||
error = err;
|
||||
}
|
||||
|
||||
if (error == 0)
|
||||
zvol_create_minors(zc->zc_name);
|
||||
|
||||
nvlist_free(config);
|
||||
|
||||
if (props)
|
||||
|
||||
Reference in New Issue
Block a user