History log of /illumos-gate/usr/src/uts/common/fs/zfs/zap.c
Revision Date Author Comments
52abb70e073c2a88808c0d66fd810ba8c5080572 01-Jun-2018 Matthew Ahrens <mahrens@delphix.com> 9691 fat zap should prefetch when iterating
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
54811da5ac6b517992fdc173df5d605e4e61fdc0 06-Oct-2018 Toomas Soome <tsoome@me.com> 8423 Implement large_dnode pool feature
8199 multi-threaded dmu_object_alloc()
7432 Large dnode pool feature
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Jason King <jason.king@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
bf26014c5541b6119f34e0d95294b7f2eb105ac2 21-Jun-2016 Matthew Ahrens <mahrens@delphix.com> 9328 zap code can take advantage of c99
9329 panic in zap_leaf_lookup() due to concurrent zapification
Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Brad Lewis <brad.lewis@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
61e255ce7267b52208af9daf434b77d37fb75622 27-Feb-2017 Matthew Ahrens <mahrens@delphix.com> 7793 ztest fails assertion in dmu_tx_willuse_space
Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Robert Mustacchi <rm@joyent.com>
40510e8eba18690b9a9843b26393725eeb0f1dac 11-Nov-2016 Josef 'Jeff' Sipek <josef.sipek@nexenta.com> 6676 Race between unique_insert() and unique_remove() causes ZFS fsid change
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Dan Vatca <dan.vatca@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
79d728325e257b05859d2eef4a4dfbefdce05a76 01-Sep-2016 Matthew Ahrens <mahrens@delphix.com> 7004 dmu_tx_hold_zap() does dnode_hold() 7x on same object
Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Ned Bass <bass6@llnl.gov>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
ae9727953cac4bd427aafd9f27458e401590bcb5 30-Aug-2016 Matthew Ahrens <mahrens@delphix.com> 7003 zap_lockdir() should tag hold
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Richard Lowe <richlowe@richlowe.net>
0c779ad424a92a84d1e07d47cab7f8009189202b 09-Jun-2016 Matthew Ahrens <mahrens@delphix.com> 7054 dmu_tx_hold_t should use refcount_t to track space
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
215198a6ad15cf4832370e2f19247abeb36b951a 12-Apr-2016 Joe Stein <joe.stein@delphix.com> 6736 ZFS per-vdev ZAPs
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Don Brady <don.brady@intel.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
02525cd08fb3730fff3a69cb5376443d481f7839 25-Mar-2016 Chunwei Chen <tuxoko@gmail.com> 6842 Fix empty xattr dir causing lockup
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
a2cdcdd260232b58202b11a9bfc0103c9449ed52 17-Jul-2015 Paul Dagnelie <pcd@delphix.com> 5960 zfs recv should prefetch indirect blocks
5925 zfs receive -o origin=
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
bc9014e6a81272073b9854d9f65dd59e18d18c35 06-Jan-2015 Justin Gibbs <justing@spectralogic.com> 5056 ZFS deadlock on db_mtx and dn_holds
Reviewed by: Will Andrews <willa@spectralogic.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
c1379625401dfbe1c39b79136dd384a571d47fde 11-Nov-2014 Justin T. Gibbs <justing@spectralogic.com> 5314 Remove "dbuf phys" db->db_data pointer aliases in ZFS
Reviewed by: Andriy Gapon <avg@freebsd.org>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Will Andrews <willa@spectralogic.com>
Approved by: Dan McDonald <danmcd@omniti.com>
bf16b11e8deb633dd6c4296d46e92399d1582df4 16-Apr-2014 Matthew Ahrens <mahrens@delphix.com> 4374 dn_free_ranges should use range_tree_t
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
b287be1ba86043996f49b1cc34c80cc620f9b841 11-Jun-2013 Will Andrews <will@firepipe.net> 3743 zfs needs a refcount audit
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Christopher Siden <christopher.siden@delphix.com>
d5ee8a1311accef11ec2057f70da38d1dd687088 08-Apr-2013 Matthew Ahrens <mahrens@delphix.com> 3654 zdb should print number of ganged blocks
3655 ::rrwlock and ::refcount print errors on non-debug kernels
3656 remove unused function zap_cursor_move_to_key()
3657 mdb_ctf_vread() should allow conversion of pointer to uintptr_t
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
be6fd75a69ae679453d9cda5bff3326111e6d1ca 08-Mar-2013 Matthew Ahrens <mahrens@delphix.com> 3598 want to dtrace when errors are generated in zfs
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
fb09f5aad449c97fe309678f3f604982b563a96f 07-Sep-2012 Madhav Suresh <madhav.suresh@delphix.com> 3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero
Reviewed by Matt Ahrens <matthew.ahrens@delphix.com>
Reviewed by George Wilson <george.wilson@delphix.com>
Approved by Eric Schrock <eric.schrock@delphix.com>
f17457368189aa911f774c38c1f21875a568bdca 27-Aug-2012 Matthew Ahrens <mahrens@delphix.com> 3104 eliminate empty bpobjs
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <chris.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Eric Schrock <eric.schrock@delphix.com>
b420f3adeb349714478d1a7813d2c0e069d41555 01-Aug-2012 Richard Lowe <richlowe@richlowe.net> backout 3006: causes 3046 (panics after mounting root)
9fa718d2f477620f14e3f2948dd03e3470add804 31-Jul-2012 Madhav Suresh <madhav.suresh@delphix.com> 3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero
Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
ad135b5d644628e791c3188a6ecbd9c257961ef8 21-May-2012 Christopher Siden <chris.siden@delphix.com> 2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <gwilson@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
c7cd242109c82107ec2e50013369e92be9d77702 20-May-2010 George Wilson <George.Wilson@Sun.COM> 6938089 dedup-induced latency causes FC initiator logouts/FC port resets
3f9d6ad73e45c6823b409f93b0c8d4f62861d2d5 03-May-2010 Lin Ling <Lin.Ling@Sun.COM> 6675946 'zpool status' should show the progress of resilvering for individual disk.
6683750 scrub -s have to wait until resilver completed?
6841252 Resilvering not restartable - causing an excess reboot delay
6855073 spa scrub stats (eg %done) are reset on reboot
6891824 7410 NAS head "continually resilvering" following HDD replacement
6899970 scrub/resilver percent complete reporting in zpool status can be overly optimistic
6940889 add interval (count) args to zpool list
6944623 dbuf_read_done() locking performance improvement
6946760 mutex problem in bplist_enqueue()
6391915 RFE: provide interval arg to zpool status to monitor resilvering
6946512 want zfs_send() to pass back debug info
6943992 'zpool scrub' should not restart the existing scrub silently
6878281 zpool should store the time of last scrub/resilver and other zpool status info in pool properties.
6935158 Assertion failed: used <= spa_get_dspace(dd->dd_pool->dp_spa)
6944388 dsl_dataset_snapshot_reserve_space() causes dp_write_limit=max

rename : usr/src/uts/common/fs/zfs/dsl_scrub.c => usr/src/uts/common/fs/zfs/dsl_scan.c
47cb52daa729f19e298c85a84e8df069365c5232 29-Apr-2010 Jeff Bonwick <Jeff.Bonwick@Sun.COM> 6944833 Avoid prefetching dbufs in dmu_sync() path
486ae710326c477d7237ab803b67abb9119c0799 23-Nov-2009 Matthew Ahrens <Matthew.Ahrens@Sun.COM> 6903705 dedup=fletcher4,verify doesn't byteswap correctly, has lots of hash collisions
92241e0b80813d0b83c08e730a29b9d1831794fc 10-Nov-2009 Tom Erickson <Tom.Erickson@Sun.COM> PSARC 2009/510 ZFS received properties
6850025 want to preserve local properties for zfs_recv
6839260 want zfs send with properties
6855486 zfs_receive should keep trying to set properties even after some fail
6850030 snapshots on read-only dataset shouldn't affect zfs_receive
b24ab6762772a3f6a89393947930c7fa61306783 01-Nov-2009 Jeff Bonwick <Jeff.Bonwick@Sun.COM> PSARC 2009/571 ZFS Deduplication Properties
6677093 zfs should have dedup capability
d20e665c84abf083a9e8b62cca93383ecb55afdf 22-Sep-2009 Ricardo M. Correia <Ricardo.M.Correia@Sun.COM> 6650218 Commit callbacks API for the DMU
6747932 Add a ZAP API to move a ZAP cursor to a given key.
6856020 ztest keeps creating and doesn't destroy threads
12a2833a0260ba374a4e6d8225376193e908784a 01-Sep-2009 Sanjeev Bagewadi <Sanjeev.Bagewadi@Sun.COM> 6870347 assertion failure in dmu_tx_willuse_space(): refcount_count(&tx->tx_space_written) + delta <= tx->tx
9966ca11f4a1481acce85f690fa59e4084050627 28-Aug-2009 Matthew Ahrens <Matthew.Ahrens@Sun.COM> 6875779 zfs user accounting callbacks can be simplified
6771468 ::blkptr prints incorrectly on 32-bit
6832861 zcmd_alloc_dst_nvlist's default size is too small
6876808 want ::refcount to print refcount_t details
3d6926289465757c3da780cea696825b0d730283 19-May-2009 Sanjeev Bagewadi <Sanjeev.Bagewadi@Sun.COM> 6664765 Unable to remove files when using fat-zap and quota exceeded on ZFS filesystem
478ed9ada0b6efe1318150a700986aa47e6a926d 18-May-2009 Eric Taylor <Eric.Taylor@Sun.COM> 6736004 zvols need an additional property for comstar support
6837608 zpool upgrade -V usage not correct
088f389458728c464569a5506b58070254fa4f7d 07-Jul-2008 ahrens <none@none> 6343667 scrub/resilver has to start over when a snapshot is taken
6343693 'zpool status' gives delayed start for 'zpool scrub'
6670746 scrub on degraded pool return the status of 'resilver completed'?
6675685 DTL entries are lost resulting in checksum errors
6706404 get_history_one() can dereference off end of hist_event_table[]
6715414 assertion failed: ds->ds_owner != tag in dsl_dataset_rele()
6716437 ztest gets SEGV in arc_released()
6722838 bfu does not update grub
de8267e0f723ed2c38ea9def92d465f69a300f56 20-Nov-2007 timh <none@none> 6622831 normalization properties are not preserved by "zfs send"
6625194 delegate 'clone' privilege broken
6626152 zfs should initialize the fuid lock it uses
Contributed by Pawel Dawidek

rename : usr/src/uts/common/fs/zfs/sys/zfs_i18n.h => deleted_files/usr/src/uts/common/fs/zfs/sys/zfs_i18n.h
ad860c82b2a8ffe69f42630da73ded0c92a7a36e 20-Nov-2007 bonwick <none@none> 6626801 deadbeef panic in fzap_update()
c5f9e43110e1fb316fc4297c2d150b3518b80bbe 30-Oct-2007 ahrens <none@none> 6623831 assertion failed in dmu_tx_willuse_space() from mzap_upgrade()
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0 25-Oct-2007 amw <none@none> PSARC/2007/218 caller_context_t in all VOPs
PSARC/2007/227 VFS Feature Registration and ACL on Create
PSARC/2007/244 ZFS Case-insensitive support
PSARC/2007/315 Extensible Attribute Interfaces
PSARC/2007/394 ls(1) new command line options '-/' and '-%': CIFS system attributes support
PSARC/2007/403 Modified Access Checks for CIFS
PSARC/2007/410 Add system attribute support to chmod(1)
PSARC/2007/432 CIFS system attributes support for cp(1), pack(1), unpack(1), compress(1) and uncompress(1)
PSARC/2007/444 Rescind SETTABLE Attribute
PSARC/2007/459 CIFS system attributes support for cpio(1), pax(1), tar(1)
PSARC/2007/546 Update utilities to match CIFS system attributes changes.
PSARC/2007/560 ZFS sharesmb property
4890717 want append-only files
6417428 Case-insensitive file system name lookup to support CIFS
6417435 DOS attributes and additional timestamps to support for CIFS
6417442 File system quarantined and modified attributes to support an integrated Anti-Virus service
6417453 FS boolean property for rejecting/allowing invalid UTF-8 sequences in file names
6473733 RFE: Need support for open-deny modes
6473755 RFE: Need ability to reconcile oplock and delegation conflicts
6494624 sharemgr needs to support CIFS shares better
6546705 All vnode operations need to pass caller_context_t
6546706 Need VOP_SETATTR/VOP_GETATTR to support new, optional attributes
6546893 Solaris system attribute support
6550962 ZFS ACL inheritance needs to be enhanced to support Automatic Inheritance
6553589 RFE: VFS Feature Registration facility
6553770 RFE: ZFS support for ACL-on-CREATE (PSARC 2007/227)
6565581 ls(1) should support file system attributes proposed in PSARC/2007/315
6566784 NTFS streams are not copied along with the files.
6576205 cp(1), pack(1) and compress(1) should support file system attributes proposed in PSARC/2007/315
6578875 RFE: kernel interfaces for nbmand need improvement
6578883 RFE: VOP_SHRLOCK needs additional access types
6578885 chmod(1) should support file system attributes proposed in PSARC/2007/315
6578886 RFE: disallow nbmand state to change on remount
6583349 ACL parser needs to support audit/alarm ACE types
6590347 tar(1) should support filesystem attributes proposed in PSARC/2007/315
6597357 *tar* xv@ doesn't show the hidden directory even though it is restored
6597360 *tar* should re-init xattr info if openat() fails during extraction of and extended attribute
6597368 *tar* cannot restore hard linked extended attributes
6597374 *tar* doesn't display "x " when hard linked attributes are restored
6597375 *tar* extended attribute header off by one
6614861 *cpio* incorrectly archives extended system attributes with -@
6614896 *pax* incorrectly archives extended system attributes with -@
6615225 *tar* incorrectly archives extended system attributes with -@
6617183 CIFS Service - PSARC 2006/715
e7437265dc2a4920c197ed4337665539d358b22c 29-Jun-2007 ahrens <none@none> PSARC/2007/328 zfs upgrade
6552536 'zpool status -v' doesn't work with new (type-bearing) directory entries
6559635 can not import pool whose front labels are gone
6572636 need "zfs upgrade" to change ZPL version number
6572637 store object type in directory entries.
6572648 ZPL's delete queue should not be processed if the filesystem is mounted read-only
6572650 ZFS_VERSION should be SPA_VERSION for readability
5ad820458efd0fdb914baff9c1447c22b819fa23 03-Oct-2006 nd150628 <none@none> 6463348 ZFS code could be more portable
455d5089097abbf7ee4538a03c4df823497b6e68 29-Aug-2006 ahrens <none@none> 6462174 zap_update() likes to return 0
8248818d5849649ef734d62da097e90222a23763 16-Mar-2006 nd150628 <none@none> 6392291 zdb needs to tell the entire goodness of the fat zap
66328dd3ff7c6b3566c06478698593e061733076 09-Mar-2006 ahrens <none@none> 6389897 remove zap leaf chaining code as it is never used
ea8dc4b6d2251b437950c0056bc626b311c73c27 04-Mar-2006 eschrock <none@none> PSARC 2006/077 zpool clear
PSARC 2006/139 FMA for ZFS
6284889 arc should replace the znode cache
6333006 DMU & DSL should not panic upon I/O error
6333092 concurrent reads to a file not scaling with number of readers
6338081 ZFS/FMA phase 1
6338386 need persistent error log
6341326 i/o error causes arc buf hash table corruption
6341639 zfs backup/restore should compute/verify checksum of backup stream
6348002 out of space due to changing properties
6354724 inaccurate error message from zfs restore
6354872 dmu_sync() blows predictive accounting
6355416 zpool scrubbing consumes all memory, system hung
6363995 df should only load libzfs when it encounters a ZFS filesystem
6366320 zfs backup/restore doesn't like signals
6368892 mount -m support needed for legacy mounts
6368902 boot archive fstat support needed for ZFS Mountroot
6369424 BFU complains when bfu'ing a ZFS root filesystem
6374062 mountroot support needed for ZFS
6376356 dirtying dbuf obj=43 lvl=0 blkid=0 but not tx_held
6378391 unused members of dmu_objset_stats_t
6378392 clean up zfs_cmd_t structure
6378685 buf_init should allocate its hash table more carefully
6378976 ziltest should be a first class citizen
6381086 zdb segfaults if there is a spa deferred-free bplist
6381203 deadlock due to i/o while assigning (tc_lock held)
6381209 freed space is not immediately available
6381344 'zpool clear'
6381345 FAULTED devices should really be UNAVAIL
6381346 import should mark devices as persistently unavailable
6383272 recursive mutex_enter() during log replay with zfs root
6386326 origin property is not displayed
6386354 libzfs does too much in its _init section, calls exit(1)
6386624 zpool should not complain about non-existent devices from libdiskmgt
6386910 spa needs to be i/o error hardened
6387735 need a mechanism to inject faults into ZFS
6387736 internal ZFS utilities should be placed in an ON-private package
6389928 libzfs should ship a lint library
6390609 malformed vdev config panics on zpool_create()
6390677 version number checking makes upgrades challenging
6390713 ztest hangs in zil_suspend()
6391873 metadata compression should be turned back on
6392113 ztest sometimes reports leaked blocks because ZIL isn't resilvered
6393004 minor memory leak in unique_insert()
f65e61c04bc28ffd6bda04619c84330b420450b5 26-Feb-2006 ahrens <none@none> 6389368 fat zap should use 16k blocks (with backwards compatability)
87e5029a3226958edab1512d6182bc74d8d80c9a 11-Nov-2005 ahrens <none@none> 6347493 tar of 25K empty directory entries in ZFS takes 30+ seconds ...
6348409 'zfs rename' process hangs after assigning a very long name ...
6348464 a few DMU object type macros are misnamed
fa9e4066f08beec538e775443c5be79dd423fcab 31-Oct-2005 ahrens <none@none> PSARC 2002/240 ZFS
6338653 Integrate ZFS
5096886 Write caching disks need mechanism to flush cache to physical media