libzfs_core: remove the dependency of the interface on sys/fs/zfs.h

Review Request #257 - Created Oct. 9, 2015 and submitted

Information
Andriy Gapon
illumos-gate
6052
2821d26...
Reviewers
openzfs
mahrens

Previously lzc_create had a parameter of dmu_objset_type_t type that specified what kind of dataset to create.
Now lzc_dataset_type enumeration is used for that purpose.
At present only a filesystem type and a volume type can be specified.
lzc_dataset_type values are binary compatible with dmu_objset_type_t values.

ZFS Test Suite with the following failures:

$ egrep 'FAIL|KILL' /var/tmp/test_results/20151116T101807/log
Test: /opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_003_pos (run as root) [00:20] [FAIL]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos (run as root) [01:31] [FAIL]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos (run as root) [00:14] [FAIL]
Test: /opt/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg (run as avg) [00:01] [FAIL]
Test: /opt/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg (run as avg) [00:00] [FAIL]
Test: /opt/zfs-tests/tests/functional/mdb/mdb_001_pos (run as root) [00:24] [FAIL]
Test: /opt/zfs-tests/tests/functional/refreserv/refreserv_004_pos (run as root) [00:00] [FAIL]
Test: /opt/zfs-tests/tests/functional/rootpool/rootpool_002_neg (run as root) [00:00] [FAIL]
Test: /opt/zfs-tests/tests/functional/rsend/rsend_008_pos (run as root) [00:01] [FAIL]
Test: /opt/zfs-tests/tests/functional/rsend/rsend_009_pos (run as root) [00:09] [FAIL]
Test: /opt/zfs-tests/tests/functional/slog/slog_014_pos (run as root) [00:13] [FAIL]
Test: /opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos (run as root) [00:01] [FAIL]

Looks like known failures, at least nothing pointing at zfs create

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Matthew Ahrens
Andriy Gapon
Matthew Ahrens
Andriy Gapon
Matthew Ahrens
Andriy Gapon
Andriy Gapon
Review request changed

Status: Closed (submitted)

Change Summary:

https://github.com/illumos/illumos-gate/commit/26455f9efcf9b1e44937d4d86d1ce37b006f25a9

Loading...