Print this page
NEX-9406 Add a property to show that a dataset has been modified since a snapshot
Reviewed by: Alexey Komarov <alexey.komarov@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
OS-80 support for vdev and CoS properties for the new I/O scheduler
OS-95 lint warning introduced by OS-61
Moved closed ZFS files to open repo, changed Makefiles accordingly
Removed unneeded weak symbols
re #12585 rb4049 ZFS++ work port - refactoring to improve separation of open/closed code, bug fixes, performance improvements - open code
Bug 11205: add missing libzfs_closed_stubs.c to fix opensource-only build.
ZFS plus work: special vdevs, cos, cos/vdev properties

*** 19,28 **** --- 19,29 ---- * CDDL HEADER END */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2017 Nexenta Systems, Inc. All rights reserved. */ #ifndef _ZFS_PROP_H #define _ZFS_PROP_H
*** 94,103 **** --- 95,118 ---- void zpool_prop_init(void); zprop_type_t zpool_prop_get_type(zpool_prop_t); zprop_desc_t *zpool_prop_get_table(void); /* + * vdev property functions + */ + void vdev_prop_init(void); + zprop_type_t vdev_prop_get_type(vdev_prop_t); + zprop_desc_t *vdev_prop_get_table(void); + + /* + * cos property functions + */ + void cos_prop_init(void); + zprop_type_t cos_prop_get_type(cos_prop_t); + zprop_desc_t *cos_prop_get_table(void); + + /* * Common routines to initialize property tables */ void zprop_register_impl(int, const char *, zprop_type_t, uint64_t, const char *, zprop_attr_t, int, const char *, const char *, boolean_t, boolean_t, const zprop_index_t *);
*** 107,116 **** --- 122,134 ---- const char *, const char *); void zprop_register_index(int, const char *, uint64_t, zprop_attr_t, int, const char *, const char *, const zprop_index_t *); void zprop_register_hidden(int, const char *, zprop_type_t, zprop_attr_t, int, const char *); + void zprop_register_index_hidden(int prop, const char *name, uint64_t def, + zprop_attr_t attr, int objset_types, const char *values, + const char *colname, const zprop_index_t *idx_tbl); /* * Common routines for zfs and zpool property management */ int zprop_iter_common(zprop_func, void *, boolean_t, boolean_t, zfs_type_t);