aboutsummaryrefslogtreecommitdiff
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* Merge headSimon J. Gerraty2014-04-2779-1563/+3126
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=265006
| * Spell NO_PROFILE= as MK_PROFILE=no.Warner Losh2014-04-251-1/+1
| | | | | | | | Notes: svn path=/head/; revision=264928
| * Silence compiler warning due to missing return in idmap_id_to_numeric_domain_ridSteven Hartland2014-04-241-0/+1
| | | | | | | | Notes: svn path=/head/; revision=264852
| * Eliminated optarg global being used outside of the function which called getoptSteven Hartland2014-04-241-6/+5
| | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=264851
| * MFV r264829:Xin LI2014-04-234-3/+115
| | | | | | | | | | | | | | | | | | 3897 zfs filesystem and snapshot limits MFC after: 2 weeks Notes: svn path=/head/; revision=264835
| * Add placeholder Kyuafiles for various top-level hierarchies.Julio Merino2014-04-2110-2/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process. Notes: svn path=/head/; revision=264741
| * MFV r264666:Xin LI2014-04-183-10/+10
| | | | | | | | | | | | | | | | | | | | | | 4374 dn_free_ranges should use range_tree_t illumos/illumos-gate@bf16b11e8deb633dd6c4296d46e92399d1582df4 MFC after: 2 weeks Notes: svn path=/head/; revision=264669
| * Replace a few Solarisisms with their corresponding FreeBSDisms to make a fewMark Johnston2014-04-156-6/+6
| | | | | | | | | | | | | | printf tests pass. Notes: svn path=/head/; revision=264487
| * Use the correct format specifiers for wide characters and strings of wideMark Johnston2014-04-151-0/+5
| | | | | | | | | | | | | | | | | | characters. MFC after: 1 week Notes: svn path=/head/; revision=264486
| * Take into account when zpool history block grows exceeding 128KB in zpool(8)Xin LI2014-04-142-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | and zdb(8) by growing the buffer on demand with a cap of 1GB (specified in spa_history_create_obj()). PR: bin/186574 Submitted by: Andrew Childs <lorne cons org nz> (with changes) MFC after: 2 weeks Notes: svn path=/head/; revision=264467
| * NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-135-5/+5
| | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
| * Add property and sysctl to control how ZVOLs are exposed to OS.Alexander Motin2014-04-051-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New ZFS property volmode and sysctl vfs.zfs.vol.mode allow switching ZVOL between three modes: geom -- existing fully functional behavior (default); dev -- exposing volumes only as raw disk device file in devfs; none -- not exposing volumes outside ZFS. The "dev" mode is less functional (can't be partitioned, mounted, etc), but it is faster, and in some scenarios with untrusted consumers safer. It can be useful for NAS, VM block storages, etc. The "none" mode may be convenient for backup servers, etc. that don't need direct data access. Due to the way ZVOL is integrated with main ZFS code, those property and sysctl are checked only during pool import and volume creation. MFC after: 1 month Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=264145
| * MFV r258379;Pedro F. Giffuni2014-04-023-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4248 dtrace(1M) should never create DOF with empty probes section 4249 Only probes from the first DTrace object file will be included Illumos Revision: 4a20ab41aadcb81c53e72fc65886e964e9add59 Reference: https://www.illumos.org/issues/4248 https://www.illumos.org/issues/4249 Obtained from: Illumos MFC after: 1 month Notes: svn path=/head/; revision=264040
| * MFV r263887:Xin LI2014-03-285-30/+154
| | | | | | | | | | | | | | | | | | | | 3993 zpool(1M) and zfs(1M) should support -p for "list" and "get" 4700 "zpool get" doesn't support -H or -o options MFC after: 2 weeks Notes: svn path=/head/; revision=263889
| * MFV 263436-263438:Xin LI2014-03-213-13/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3947 zpool(1M) references nonexistent zfs-features(5) 4540 zpool(1M) man page doesn't describe "readonly" property 3948 zfs sync=default is not accepted 4611 zfs(1M) still mentions 'send -r' in synopsis 4415 zpool(1M) man page missing "import -m" description 4570 Document dedupditto pool property 4572 Dedup-related documentation additions for zpool and zdb. 1371 Add -D option description to zpool(1M) manpage 4571 Add documentation for -T and interval to "zpool list" MFC after: 2 weeks Notes: svn path=/head/; revision=263459
| * Remove unused option -r from zpool.Xin LI2014-03-191-1/+1
| | | | | | | | | | | | | | | | Submitted by: Richard Yao <ryao gentoo org> MFC after: 2 weeks Notes: svn path=/head/; revision=263385
| * cddl/contrib/opensolaris/lib/libuutil/common/uu_avl.cAlan Somers2014-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix a memory leak in uu_avl_pool_create: pthread_mutex_init without a corresponding pthread_mutex_destroy. It shows up, among other places, when doing "zfs list". MFC after: 3 weeks Sponsored by: Spectra Logic Corporation Notes: svn path=/head/; revision=262912
| * mark that libctf depends upon libz so that if you dlopen libctf, youJohn-Mark Gurney2014-03-051-0/+3
| | | | | | | | | | | | | | | | don't get: Undefined symbol "zError" Notes: svn path=/head/; revision=262811
| * When our linker merges .SUNW_dof sections from multiple files, it simplyMark Johnston2014-03-011-30/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | concatenates the DOF tables into one section. Previously, the USDT init code in drti.o would only look at the first table in the DOF section; with this change, it iterates over all the tables, passing each DOF table to the kernel. PR: 186821 Submitted by: Fedor Indutny <fedor@indutny.com> MFC after: 1 month Notes: svn path=/head/; revision=262669
| * 4478 dtrace_dof_maxsize is far too smallMark Johnston2014-02-281-0/+97
| | | | | | | | | | | | | | | | | | | | illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 PR: 187027 MFC after: 1 week Notes: svn path=/head/; revision=262596
| * MFV r262570:Xin LI2014-02-271-4/+11
| | | | | | | | | | | | | | | | | | | | | | 4626 libzfs memleak in zpool_in_use() illumos/illumos-gate@fb13f48f1d9593453b94cd1c7277553b56f493c8 MFC after: 2 weeks Notes: svn path=/head/; revision=262577
| * Move some files that are identical on i386 and amd64 to an x86 subdirectoryMark Johnston2014-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | rather than keeping duplicate copies. Discussed with: avg MFC after: 1 week Notes: svn path=/head/; revision=262542
| * 1452 DTrace buffer autoscaling should be less violentMark Johnston2014-02-223-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | illumos/illumos-gate@6fb4854bed54ce82bd8610896b64ddebcd4af706 This fixes the tst.resize1.d and tst.resize2.d DTrace tests, which have been failing since r261122 since they were causing dtrace(1) to attempt to allocate and use large amounts of memory, and get killed by the OOM killer as a result. MFC after: 1 month Notes: svn path=/head/; revision=262330
| * Fix formatting.Mark Felder2014-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | "Manpages should start a new sentence on a new line. This makes it easier for translators to track changes." -jhb Approved by: jhb MFC after: 3 days Sponsored by: SupraNet Communications, Inc Notes: svn path=/head/; revision=262051
| * zfs.8: fix garbled options in a sample zfs send -R command lineAndriy Gapon2014-02-141-1/+1
| | | | | | | | | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=261893
| * zpool.8: fix typo in option description of labelclear commandAndriy Gapon2014-02-141-1/+1
| | | | | | | | | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=261892
| * Add caveat to zpool manpage indicating that we do not automatically activateMark Felder2014-02-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | hot spares. This should be MFC'd to all STABLE branches. Upon the availability of zfsd, the zpool manpage on relevant branches should be updated to remove this caveat and document hot spare's reliance on zfsd. Approved by: avg MFC after: 1 week Sponsored by: SupraNet Communications Notes: svn path=/head/; revision=261774
| * Only declare `bysz' variable under little endian archs.Kai Wang2014-01-291-1/+4
| | | | | | | | Notes: svn path=/head/; revision=261259
| * MFH@261151.Kai Wang2014-01-251-10/+0
| |\ | | | | | | | | | Notes: svn path=/projects/elftoolchain/; revision=261159
| | * dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zallocAndriy Gapon2014-01-241-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The limitation was introduced in r178556 without any note or comment. It seems pretty artificial and now it leads to problems like the following: $ dtrace -x bufsize=17m -n ... dtrace: processing aborted: Memory allocation failure OpenSolaris and illumos never had this limitation. Sponsored by: HybridCluster Notes: svn path=/head/; revision=261122
| * | Simplify DWARF version check.Kai Wang2014-01-251-8/+2
| | | | | | | | | | | | | | | | | | | | | Submitted by: emaste Notes: svn path=/projects/elftoolchain/; revision=261154
| * | Let ctfconvert accept DWARF version 3 and 4.Kai Wang2014-01-221-3/+6
| | | | | | | | | | | | Notes: svn path=/projects/elftoolchain/; revision=261025
| * | MFH@260917.Kai Wang2014-01-203-0/+3
| |\| | | | | | | | | | Notes: svn path=/projects/elftoolchain/; revision=260920
| | * zdb -R: do not treat numeric parameters to a flag as more flagsAndriy Gapon2014-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> MFC after: 1 week Notes: svn path=/head/; revision=260811
| | * zinject must use ioctl(2) compatibility wrapperAndriy Gapon2014-01-162-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 8 days Sponsored by: HybridCluster Notes: svn path=/head/; revision=260703
| * | Clang 3.4 will sometimes emit DIE for struct/union member beforeKai Wang2014-01-201-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emitting the DIE for the type of that member. ctfconvert can not handle this properly and will calculate a wrong member bit offset. Same struct/union type from different .o file will be treated as different types when their member bit offsets are different, and gets added/merged multiple times. This will in turn cause many other structs/pointers/typedefs that refer to the duplicated struct/union gets added/merged multiple times and eventually causes numerous duplicated CTF types in the kernel.debug file. The simple workaround here is to make use of DW_AT_byte_size attribute of the member DIE to calculate the bits occupied by the member's type, without actually resolving the type. Notes: svn path=/projects/elftoolchain/; revision=260897
| * | * Make die_mem_offset() be able to handle DW_AT_data_member_locationKai Wang2014-01-191-9/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes generated by Clang 3.4. * Document how different compilers generate DW_AT_data_member_location attributes differently. * Document the quirks about DW_FORM_data[48]. Notes: svn path=/projects/elftoolchain/; revision=260880
| * | We should not set the unnamed DIE's name to "__anon__" since that willKai Wang2014-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bring back a known issue with DTrace regarding type name comparison. Instead, we can set the name to an empty string. Pointed out by: avg Notes: svn path=/projects/elftoolchain/; revision=260809
| * | If function die_name() finds a DIE without a name, set its name toKai Wang2014-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "__anon__". This hack is used to workaround a issue that compilers like GCC could generate DW_TAG_base_type DIE without a name. Note that we didn't need this before because the old libdwarf internally set all the unnamed DIE's name to "__anon__". Notes: svn path=/projects/elftoolchain/; revision=260797
| * | Convert ctfconvert to use the new libdwarf API.Kai Wang2014-01-161-30/+34
| |/ | | | | | | Notes: svn path=/projects/elftoolchain/; revision=260795
| * MFV r260154 + 260182:Xin LI2014-01-0212-159/+767
| | | | | | | | | | | | | | | | | | | | | | | | 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools Illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332 MFC after: 2 weeks Notes: svn path=/head/; revision=260183
| * MFV r260152:Xin LI2014-01-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 4208 Typo in zfs_main.c: "posxiuser" illumos/illumos-gate@f38cb554a534c6df738be3f4d23327e69888e634 Note: this is a stripped down version of Illumos change. MFC after: 2 weeks Notes: svn path=/head/; revision=260156
| * MFV r259170:Xin LI2014-01-014-47/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4370 avoid transmitting holes during zfs send 4371 DMU code clean up illumos/illumos-gate@43466aae47bfcd2ad9bf501faec8e75c08095e4f NOTE: Make sure the boot code is updated if a zpool upgrade is done on boot zpool. MFC after: 2 weeks Notes: svn path=/head/; revision=260150
| * MFV r258972:Xin LI2013-12-312-4/+123
| | | | | | | | | | | | | | | | | | | | | | 4373 add block contents print to zstreamdump illumos/illumos-gate@994fb6b8a9d07a8021d77d79f46e30637bca3ad3 MFC after: 2 weeks Notes: svn path=/head/; revision=260142
| * MFV r242733:Xin LI2013-12-316-47/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3306 zdb should be able to issue reads in parallel 3321 'zpool reopen' command should be documented in the man page and help message illumos/illumos-gate@31d7e8fa33fae995f558673adb22641b5aa8b6e1 FreeBSD porting notes: the kernel part of this changeset depends on Solaris buf(9S) interfaces and are not really applicable for our use. vdev_disk.c is patched as-is to reduce diverge from upstream, but vdev_file.c is left intact. MFC after: 2 weeks Notes: svn path=/head/; revision=260138
| * When clearing relocations to __dtrace* symbols, handle both SHT_REL andMark Johnston2013-12-291-4/+11
| | | | | | | | | | | | | | | | | | | | | | SHT_RELA sections properly instead of assuming that the relocation section is of type SHT_REL. Submitted by: Prashanth Kumar <pra_udupi@yahoo.co.in> (original version) MFC after: 1 month Notes: svn path=/head/; revision=260051
| * MFV r258384:Xin LI2013-12-256-49/+60
| | | | | | | | | | | | | | | | | | | | | | 2583 Add -p (parsable) option to zfs list illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e MFC after: 2 weeks Notes: svn path=/head/; revision=259850
| * Fix incorrect markup introduced in r259813.Xin LI2013-12-241-1/+1
| | | | | | | | | | | | | | | | Pointy hat to: delphij X-MFC-after: r259813 Notes: svn path=/head/; revision=259816
| * MFV r258374:Xin LI2013-12-245-32/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 4171 clean up spa_feature_*() interfaces 4172 implement extensible_dataset feature for use by other zpool features illumos/illumos-gate@2acef22db7808606888f8f92715629ff3ba555b9 MFC after: 2 weeks Notes: svn path=/head/; revision=259813
| * MFV r258373:Xin LI2013-12-241-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 4168 ztest assertion failure in dbuf_undirty 4169 verbatim import causes zdb to segfa 4170 zhack leaves pool in ACTIVE state illumos/illumos-gate@7fdd916c474ea52896c671bbe7b56ba34a1ca132 MFC after: 2 weeks Notes: svn path=/head/; revision=259811