Print this page
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>


1234         { (uint_t)ZFS_IOC_HOLD,                 "ZFS_IOC_HOLD",
1235                 "zfs_cmd_t" },
1236         { (uint_t)ZFS_IOC_RELEASE,              "ZFS_IOC_RELEASE",
1237                 "zfs_cmd_t" },
1238         { (uint_t)ZFS_IOC_GET_HOLDS,            "ZFS_IOC_GET_HOLDS",
1239                 "zfs_cmd_t" },
1240         { (uint_t)ZFS_IOC_OBJSET_RECVD_PROPS,   "ZFS_IOC_OBJSET_RECVD_PROPS",
1241                 "zfs_cmd_t" },
1242         { (uint_t)ZFS_IOC_VDEV_SPLIT,           "ZFS_IOC_VDEV_SPLIT",
1243                 "zfs_cmd_t" },
1244         { (uint_t)ZFS_IOC_NEXT_OBJ,             "ZFS_IOC_NEXT_OBJ",
1245                 "zfs_cmd_t" },
1246         { (uint_t)ZFS_IOC_DIFF,                 "ZFS_IOC_DIFF",
1247                 "zfs_cmd_t" },
1248         { (uint_t)ZFS_IOC_TMP_SNAPSHOT,         "ZFS_IOC_TMP_SNAPSHOT",
1249                 "zfs_cmd_t" },
1250         { (uint_t)ZFS_IOC_OBJ_TO_STATS,         "ZFS_IOC_OBJ_TO_STATS",
1251                 "zfs_cmd_t" },
1252         { (uint_t)ZFS_IOC_SPACE_WRITTEN,        "ZFS_IOC_SPACE_WRITTEN",
1253                 "zfs_cmd_t" },
1254         { (uint_t)ZFS_IOC_DESTROY_SNAPS_NVL,    "ZFS_IOC_DESTROY_SNAPS_NVL",
1255                 "zfs_cmd_t" },
1256         { (uint_t)ZFS_IOC_POOL_REGUID,          "ZFS_IOC_POOL_REGUID",
1257                 "zfs_cmd_t" },
1258         { (uint_t)ZFS_IOC_POOL_REOPEN,          "ZFS_IOC_POOL_REOPEN",
1259                 "zfs_cmd_t" },
1260         { (uint_t)ZFS_IOC_SEND_PROGRESS,        "ZFS_IOC_SEND_PROGRESS",
1261                 "zfs_cmd_t" },








1262 
1263         /* kssl ioctls */
1264         { (uint_t)KSSL_ADD_ENTRY,               "KSSL_ADD_ENTRY",
1265                 "kssl_params_t"},
1266         { (uint_t)KSSL_DELETE_ENTRY,            "KSSL_DELETE_ENTRY",
1267                 "sockaddr_in"},
1268 
1269         /* disk ioctls - (0x04 << 8) - dkio.h */
1270         { (uint_t)DKIOCGGEOM,           "DKIOCGGEOM",
1271                 "struct dk_geom"},
1272         { (uint_t)DKIOCINFO,            "DKIOCINFO",
1273                 "struct dk_info"},
1274         { (uint_t)DKIOCEJECT,           "DKIOCEJECT",
1275                 NULL},
1276         { (uint_t)DKIOCGVTOC,           "DKIOCGVTOC",
1277                 "struct vtoc"},
1278         { (uint_t)DKIOCSVTOC,           "DKIOCSVTOC",
1279                 "struct vtoc"},
1280         { (uint_t)DKIOCGEXTVTOC,        "DKIOCGEXTVTOC",
1281                 "struct extvtoc"},




1234         { (uint_t)ZFS_IOC_HOLD,                 "ZFS_IOC_HOLD",
1235                 "zfs_cmd_t" },
1236         { (uint_t)ZFS_IOC_RELEASE,              "ZFS_IOC_RELEASE",
1237                 "zfs_cmd_t" },
1238         { (uint_t)ZFS_IOC_GET_HOLDS,            "ZFS_IOC_GET_HOLDS",
1239                 "zfs_cmd_t" },
1240         { (uint_t)ZFS_IOC_OBJSET_RECVD_PROPS,   "ZFS_IOC_OBJSET_RECVD_PROPS",
1241                 "zfs_cmd_t" },
1242         { (uint_t)ZFS_IOC_VDEV_SPLIT,           "ZFS_IOC_VDEV_SPLIT",
1243                 "zfs_cmd_t" },
1244         { (uint_t)ZFS_IOC_NEXT_OBJ,             "ZFS_IOC_NEXT_OBJ",
1245                 "zfs_cmd_t" },
1246         { (uint_t)ZFS_IOC_DIFF,                 "ZFS_IOC_DIFF",
1247                 "zfs_cmd_t" },
1248         { (uint_t)ZFS_IOC_TMP_SNAPSHOT,         "ZFS_IOC_TMP_SNAPSHOT",
1249                 "zfs_cmd_t" },
1250         { (uint_t)ZFS_IOC_OBJ_TO_STATS,         "ZFS_IOC_OBJ_TO_STATS",
1251                 "zfs_cmd_t" },
1252         { (uint_t)ZFS_IOC_SPACE_WRITTEN,        "ZFS_IOC_SPACE_WRITTEN",
1253                 "zfs_cmd_t" },
1254         { (uint_t)ZFS_IOC_DESTROY_SNAPS,        "ZFS_IOC_DESTROY_SNAPS",
1255                 "zfs_cmd_t" },
1256         { (uint_t)ZFS_IOC_POOL_REGUID,          "ZFS_IOC_POOL_REGUID",
1257                 "zfs_cmd_t" },
1258         { (uint_t)ZFS_IOC_POOL_REOPEN,          "ZFS_IOC_POOL_REOPEN",
1259                 "zfs_cmd_t" },
1260         { (uint_t)ZFS_IOC_SEND_PROGRESS,        "ZFS_IOC_SEND_PROGRESS",
1261                 "zfs_cmd_t" },
1262         { (uint_t)ZFS_IOC_LOG_HISTORY,          "ZFS_IOC_LOG_HISTORY",
1263                 "zfs_cmd_t" },
1264         { (uint_t)ZFS_IOC_SEND_NEW,             "ZFS_IOC_SEND_NEW",
1265                 "zfs_cmd_t" },
1266         { (uint_t)ZFS_IOC_SEND_SPACE,           "ZFS_IOC_SEND_SPACE",
1267                 "zfs_cmd_t" },
1268         { (uint_t)ZFS_IOC_CLONE,                "ZFS_IOC_CLONE",
1269                 "zfs_cmd_t" },
1270 
1271         /* kssl ioctls */
1272         { (uint_t)KSSL_ADD_ENTRY,               "KSSL_ADD_ENTRY",
1273                 "kssl_params_t"},
1274         { (uint_t)KSSL_DELETE_ENTRY,            "KSSL_DELETE_ENTRY",
1275                 "sockaddr_in"},
1276 
1277         /* disk ioctls - (0x04 << 8) - dkio.h */
1278         { (uint_t)DKIOCGGEOM,           "DKIOCGGEOM",
1279                 "struct dk_geom"},
1280         { (uint_t)DKIOCINFO,            "DKIOCINFO",
1281                 "struct dk_info"},
1282         { (uint_t)DKIOCEJECT,           "DKIOCEJECT",
1283                 NULL},
1284         { (uint_t)DKIOCGVTOC,           "DKIOCGVTOC",
1285                 "struct vtoc"},
1286         { (uint_t)DKIOCSVTOC,           "DKIOCSVTOC",
1287                 "struct vtoc"},
1288         { (uint_t)DKIOCGEXTVTOC,        "DKIOCGEXTVTOC",
1289                 "struct extvtoc"},