Deleted Added
full compact
zfs_prop.c (263410) zfs_prop.c (265754)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 357 unchanged lines hidden (view full) ---

366 "<size> | none", "RESERV");
367 zprop_register_number(ZFS_PROP_VOLSIZE, "volsize", 0, PROP_DEFAULT,
368 ZFS_TYPE_VOLUME, "<size>", "VOLSIZE");
369 zprop_register_number(ZFS_PROP_REFQUOTA, "refquota", 0, PROP_DEFAULT,
370 ZFS_TYPE_FILESYSTEM, "<size> | none", "REFQUOTA");
371 zprop_register_number(ZFS_PROP_REFRESERVATION, "refreservation", 0,
372 PROP_DEFAULT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
373 "<size> | none", "REFRESERV");
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 357 unchanged lines hidden (view full) ---

366 "<size> | none", "RESERV");
367 zprop_register_number(ZFS_PROP_VOLSIZE, "volsize", 0, PROP_DEFAULT,
368 ZFS_TYPE_VOLUME, "<size>", "VOLSIZE");
369 zprop_register_number(ZFS_PROP_REFQUOTA, "refquota", 0, PROP_DEFAULT,
370 ZFS_TYPE_FILESYSTEM, "<size> | none", "REFQUOTA");
371 zprop_register_number(ZFS_PROP_REFRESERVATION, "refreservation", 0,
372 PROP_DEFAULT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
373 "<size> | none", "REFRESERV");
374 zprop_register_number(ZFS_PROP_FILESYSTEM_LIMIT, "filesystem_limit",
375 UINT64_MAX, PROP_DEFAULT, ZFS_TYPE_FILESYSTEM,
376 "<count> | none", "FSLIMIT");
377 zprop_register_number(ZFS_PROP_SNAPSHOT_LIMIT, "snapshot_limit",
378 UINT64_MAX, PROP_DEFAULT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
379 "<count> | none", "SSLIMIT");
380 zprop_register_number(ZFS_PROP_FILESYSTEM_COUNT, "filesystem_count",
381 UINT64_MAX, PROP_DEFAULT, ZFS_TYPE_FILESYSTEM,
382 "<count>", "FSCOUNT");
383 zprop_register_number(ZFS_PROP_SNAPSHOT_COUNT, "snapshot_count",
384 UINT64_MAX, PROP_DEFAULT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
385 "<count>", "SSCOUNT");
374
375 /* inherit number properties */
376 zprop_register_number(ZFS_PROP_RECORDSIZE, "recordsize",
377 SPA_MAXBLOCKSIZE, PROP_INHERIT,
378 ZFS_TYPE_FILESYSTEM, "512 to 128k, power of 2", "RECSIZE");
379
380 /* hidden properties */
381 zprop_register_hidden(ZFS_PROP_CREATETXG, "createtxg", PROP_TYPE_NUMBER,

--- 250 unchanged lines hidden ---
386
387 /* inherit number properties */
388 zprop_register_number(ZFS_PROP_RECORDSIZE, "recordsize",
389 SPA_MAXBLOCKSIZE, PROP_INHERIT,
390 ZFS_TYPE_FILESYSTEM, "512 to 128k, power of 2", "RECSIZE");
391
392 /* hidden properties */
393 zprop_register_hidden(ZFS_PROP_CREATETXG, "createtxg", PROP_TYPE_NUMBER,

--- 250 unchanged lines hidden ---