Print this page
3954 metaslabs continue to load even after hitting zfs_mg_alloc_failure limit
4080 zpool clear fails to clear pool
4081 need zfs_mg_noalloc_threshold
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>


5388             zfs_secpolicy_config, B_FALSE, POOL_CHECK_NONE);
5389 
5390         zfs_ioctl_register_pool(ZFS_IOC_POOL_STATS, zfs_ioc_pool_stats,
5391             zfs_secpolicy_read, B_FALSE, POOL_CHECK_NONE);
5392         zfs_ioctl_register_pool(ZFS_IOC_POOL_GET_PROPS, zfs_ioc_pool_get_props,
5393             zfs_secpolicy_read, B_FALSE, POOL_CHECK_NONE);
5394 
5395         zfs_ioctl_register_pool(ZFS_IOC_ERROR_LOG, zfs_ioc_error_log,
5396             zfs_secpolicy_inject, B_FALSE, POOL_CHECK_SUSPENDED);
5397         zfs_ioctl_register_pool(ZFS_IOC_DSOBJ_TO_DSNAME,
5398             zfs_ioc_dsobj_to_dsname,
5399             zfs_secpolicy_diff, B_FALSE, POOL_CHECK_SUSPENDED);
5400         zfs_ioctl_register_pool(ZFS_IOC_POOL_GET_HISTORY,
5401             zfs_ioc_pool_get_history,
5402             zfs_secpolicy_config, B_FALSE, POOL_CHECK_SUSPENDED);
5403 
5404         zfs_ioctl_register_pool(ZFS_IOC_POOL_IMPORT, zfs_ioc_pool_import,
5405             zfs_secpolicy_config, B_TRUE, POOL_CHECK_NONE);
5406 
5407         zfs_ioctl_register_pool(ZFS_IOC_CLEAR, zfs_ioc_clear,
5408             zfs_secpolicy_config, B_TRUE, POOL_CHECK_SUSPENDED);
5409         zfs_ioctl_register_pool(ZFS_IOC_POOL_REOPEN, zfs_ioc_pool_reopen,
5410             zfs_secpolicy_config, B_TRUE, POOL_CHECK_SUSPENDED);
5411 
5412         zfs_ioctl_register_dataset_read(ZFS_IOC_SPACE_WRITTEN,
5413             zfs_ioc_space_written);
5414         zfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_RECVD_PROPS,
5415             zfs_ioc_objset_recvd_props);
5416         zfs_ioctl_register_dataset_read(ZFS_IOC_NEXT_OBJ,
5417             zfs_ioc_next_obj);
5418         zfs_ioctl_register_dataset_read(ZFS_IOC_GET_FSACL,
5419             zfs_ioc_get_fsacl);
5420         zfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_STATS,
5421             zfs_ioc_objset_stats);
5422         zfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_ZPLPROPS,
5423             zfs_ioc_objset_zplprops);
5424         zfs_ioctl_register_dataset_read(ZFS_IOC_DATASET_LIST_NEXT,
5425             zfs_ioc_dataset_list_next);
5426         zfs_ioctl_register_dataset_read(ZFS_IOC_SNAPSHOT_LIST_NEXT,
5427             zfs_ioc_snapshot_list_next);
5428         zfs_ioctl_register_dataset_read(ZFS_IOC_SEND_PROGRESS,




5388             zfs_secpolicy_config, B_FALSE, POOL_CHECK_NONE);
5389 
5390         zfs_ioctl_register_pool(ZFS_IOC_POOL_STATS, zfs_ioc_pool_stats,
5391             zfs_secpolicy_read, B_FALSE, POOL_CHECK_NONE);
5392         zfs_ioctl_register_pool(ZFS_IOC_POOL_GET_PROPS, zfs_ioc_pool_get_props,
5393             zfs_secpolicy_read, B_FALSE, POOL_CHECK_NONE);
5394 
5395         zfs_ioctl_register_pool(ZFS_IOC_ERROR_LOG, zfs_ioc_error_log,
5396             zfs_secpolicy_inject, B_FALSE, POOL_CHECK_SUSPENDED);
5397         zfs_ioctl_register_pool(ZFS_IOC_DSOBJ_TO_DSNAME,
5398             zfs_ioc_dsobj_to_dsname,
5399             zfs_secpolicy_diff, B_FALSE, POOL_CHECK_SUSPENDED);
5400         zfs_ioctl_register_pool(ZFS_IOC_POOL_GET_HISTORY,
5401             zfs_ioc_pool_get_history,
5402             zfs_secpolicy_config, B_FALSE, POOL_CHECK_SUSPENDED);
5403 
5404         zfs_ioctl_register_pool(ZFS_IOC_POOL_IMPORT, zfs_ioc_pool_import,
5405             zfs_secpolicy_config, B_TRUE, POOL_CHECK_NONE);
5406 
5407         zfs_ioctl_register_pool(ZFS_IOC_CLEAR, zfs_ioc_clear,
5408             zfs_secpolicy_config, B_TRUE, POOL_CHECK_NONE);
5409         zfs_ioctl_register_pool(ZFS_IOC_POOL_REOPEN, zfs_ioc_pool_reopen,
5410             zfs_secpolicy_config, B_TRUE, POOL_CHECK_SUSPENDED);
5411 
5412         zfs_ioctl_register_dataset_read(ZFS_IOC_SPACE_WRITTEN,
5413             zfs_ioc_space_written);
5414         zfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_RECVD_PROPS,
5415             zfs_ioc_objset_recvd_props);
5416         zfs_ioctl_register_dataset_read(ZFS_IOC_NEXT_OBJ,
5417             zfs_ioc_next_obj);
5418         zfs_ioctl_register_dataset_read(ZFS_IOC_GET_FSACL,
5419             zfs_ioc_get_fsacl);
5420         zfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_STATS,
5421             zfs_ioc_objset_stats);
5422         zfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_ZPLPROPS,
5423             zfs_ioc_objset_zplprops);
5424         zfs_ioctl_register_dataset_read(ZFS_IOC_DATASET_LIST_NEXT,
5425             zfs_ioc_dataset_list_next);
5426         zfs_ioctl_register_dataset_read(ZFS_IOC_SNAPSHOT_LIST_NEXT,
5427             zfs_ioc_snapshot_list_next);
5428         zfs_ioctl_register_dataset_read(ZFS_IOC_SEND_PROGRESS,