History log of /illumos-gate/usr/src/uts/common/fs/zfs/space_map.c
Revision Date Author Comments
814dcd43c3de9925fd6226c256e4d4327841a0e1 20-Sep-2019 Serapheim Dimitropoulos <serapheim@delphix.com> 11557 Log Spacemap Project
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Portions contributed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Melikov <mail@gmelikov.ru>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Sara Hartse <sara.hartse@delphix.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Kody Kantor <kody.kantor@joyent.com>
Approved by: Gordon Ross <gwr@nexenta.com>
555d674d5d4b8191dc83723188349d28278b2431 18-Apr-2019 Serapheim Dimitropoulos <serapheim@delphix.com> 10592 misc. metaslab and vdev related ZoL bug fixes
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Giuseppe Di Natale <guss80@gmail.com>
Reviewed by: George Melikov <mail@gmelikov.ru>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Tony Hutter <hutter2@llnl.gov>
Reviewed by: Kody Kantor <kody.kantor@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
221813c13b43ef48330b03725e00edee85108cf1 11-Jan-2018 Matthew Ahrens <mahrens@delphix.com> 9442 decrease indirect block size of spacemaps
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Albert Lee <trisk@forkgnu.org>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Dan McDonald <danmcd@joyent.com>
17f11284b49b98353b5119463254074fd9bc0a28 04-Aug-2017 Serapheim Dimitropoulos <serapheim@delphix.com> 9238 ZFS Spacemap Encoding V2
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <gwilson@zfsmail.com>
Approved by: Gordon Ross <gwr@nexenta.com>
8671400134a11c848244896ca51a7db4d0f69da4 16-Dec-2016 Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> 9166 zfs storage pool checkpoint
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
5cabbc6b49070407fb9610cfe73d4c0e0dea3e77 22-Sep-2016 Prashanth Sreenivasa <pks@delphix.com> 7614 zfs device evacuation/removal
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Richard Laager <rlaager@wiktel.com>
Reviewed by: Tim Chase <tim@chase2k.com>
Approved by: Garrett D'Amore <garrett@damore.org>
3991b535a8e990c0369be677746a87c259b13e9f 07-Apr-2017 George Wilson <george.wilson@delphix.com> 8023 Panic destroying a metaslab deferred range tree
Reviewed by: Brad Lewis <brad.lewis@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
8363e80ae72609660f6090766ca8c2c18aa53f0c 23-Nov-2016 George Wilson <george.wilson@delphix.com> 7303 dynamic metaslab selection
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Don Brady <don.brady@intel.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
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>
b1be2892dd07cf9a97d47ad06334cdc879196aaf 16-Sep-2014 Matthew Ahrens <mahrens@delphix.com> 5164 space_map_max_blksz causes panic, does not work
5165 zdb fails assertion when run on pool with recently-enabled spacemap_histogram feature
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
2e4c998613148111f2fc5371085331ffb39122ff 19-Jul-2014 George Wilson <george.wilson@delphix.com> 4976 zfs should only avoid writing to a failing non-redundant top-level vdev
4977 mdb error in ::spa_space from space_cb() if a metaslab's ms_sm is NULL
4978 ztest fails in get_metaslab_refcount()
4979 extend free space histogram to device and pool
4980 metaslabs should have a fragmentation metric
4981 remove fragmented ops vector from block allocator
4982 space_map object should proactively upgrade when feature is enabled
4983 need to collect metaslab information via mdb
4984 device selection should use fragmentation metric
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Adam Leventhal <adam.leventhal@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
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>
2acef22db7808606888f8f92715629ff3ba555b9 08-Oct-2013 Matthew Ahrens <mahrens@delphix.com> 4171 clean up spa_feature_*() interfaces
4172 implement extensible_dataset feature for use by other zpool features
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Garrett D'Amore <garrett@damore.org>
0713e232b7712cd27d99e1e935ebb8d5de61c57d 01-Oct-2013 George Wilson <george.wilson@delphix.com> 4101 metaslab_debug should allow for fine-grained control
4102 space_maps should store more information about themselves
4103 space map object blocksize should be increased
4104 ::spa_space no longer works
4105 removing a mirrored log device results in a leaked object
4106 asynchronously load metaslab
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Sebastien Roy <seb@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
3b2aab18808792cbd248a12f1edf139b89833c13 28-Feb-2013 Matthew Ahrens <mahrens@delphix.com> 3464 zfs synctask code needs restructuring
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
16a4a8074274d2d7cc408589cf6359f4a378c861 19-Feb-2013 George Wilson <george.wilson@delphix.com> 3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread
3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not condensing)
3566 recursive mutex panic in specfs
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
01f55e48fb4d524eaf70687728aa51b7762e2e97 07-Nov-2012 George Wilson <george.wilson@delphix.com> 3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb()
3330 space_seg_t should have its own kmem_cache
3331 deferred frees should happen after sync_pass 1
3335 make SYNC_PASS_* constants tunable
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com>
Reviewed by: Christopher Siden <chris.siden@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
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>
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>
80eb36f241abf8c076119fb4c49a55fd61ebc710 22-Nov-2009 George Wilson <George.Wilson@Sun.COM> 6826241 Sync write IOPS drops dramatically during TXG sync
6869229 zfs should switch to shiny new metaslabs more frequently
b24ab6762772a3f6a89393947930c7fa61306783 01-Nov-2009 Jeff Bonwick <Jeff.Bonwick@Sun.COM> PSARC 2009/571 ZFS Deduplication Properties
6677093 zfs should have dedup capability
468c413a79615e77179e8d98f22a7e513a8135bd 31-Oct-2009 Tim Haley <Tim.Haley@Sun.COM> PSARC 2009/479 zpool recovery support
6667683 need a way to rollback to an uberblock from a previous txg
6885998 bad ASSERT() in traverse_zil_block()
a234c3c9d43545879dbc055e14b73c147cc93aff 08-May-2009 George Wilson <George.Wilson@Sun.COM> 6838062 zfs panics when an error is encountered in space_map_load()
7bfdf011e081684f853a3242d0296695110d9d84 30-Apr-2009 Neil Perrin <Neil.Perrin@Sun.COM> 6801810 Commit of aligned streaming rewrites to ZIL device causes unwanted disk reads
d6e555bdd793b8bc8fe57d5f12c3d69c813d0661 28-Apr-2009 George Wilson <George.Wilson@Sun.COM> 6596237 Stop looking and start ganging
8ad4d6dd86f5bc65fb3afa566c8133f3bac21648 01-Dec-2008 Jeff Bonwick <Jeff.Bonwick@Sun.COM> 6328632 zpool offline is a bit too conservative
6739487 ASSERT: txg <= spa_final_txg due to scrub/export race
6767129 ASSERT: cvd->vdev_isspare, in spa_vdev_detach()
6747698 checksum failures after offline -t / export / import / scrub
6745863 ZFS writes to disk after it has been offlined
6722540 50% slowdown on scrub/resilver with certain vdev configurations
6759999 resilver logic rewrites ditto blocks on both source and destination
6758107 I/O should never suspend during spa_load()
6776548 codereview(1) runs off the page when faced with multi-line comments
6761406 AMD errata 91 workaround doesn't work on 64-bit systems
b5e70f9763532dbf8f22010666d457240881c038 25-Nov-2008 Ricardo M. Correia <Ricardo.M.Correia@Sun.COM> 6747934 Some locking variables are not properly initialized or destroyed
b8493d5dbb69dc46a036795418389fe3e011f3e1 19-Mar-2008 vl146290 <none@none> 6657693 assertion failed: sm->sm_space == 0 (0x1000000000 == 0x0)
0a4e9518a44f226be6d39383330b5b1792d2f184 25-Oct-2007 gw25295 <none@none> PSARC 2007/567 zpool failmode property
6322646 ZFS should gracefully handle all devices failing (when writing)
6413847 vdev label write failure should be handled more gracefully
6417772 need nicer message on write failure
6417779 ZFS: I/O failure (write on ...) -- need to reallocate writes
6467927 Node gets into a panic loop when devices are fenced off
6565042 ZFS should gracefully handle all devices failing (when reading)
6596239 Stop issuing IOs to a vdev that is going to be removed
8365e7c9222c4c8080dc66e31c58032c59b1c199 05-Mar-2007 billm <none@none> 6458218 assertion failed: ss == NULL
0125049cd6136d1d2ca9e982382a915b6d7916ce 26-Feb-2007 ahrens <none@none> 6527325 want more assertions in space map code
ecc2d604e885a75cc75e647b5641af99d5a6f4a6 02-Apr-2006 bonwick <none@none> 6280668 pluggable block allocation policy
6399301 initial read of space maps is super slow
6407365 large-sector disk support in ZFS
6407366 ADVANCE_NOLOCK gathers MOS
6407367 three-way deadlock between db_mtx, dbuf_hash[], and ms_lock
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()
fa9e4066f08beec538e775443c5be79dd423fcab 31-Oct-2005 ahrens <none@none> PSARC 2002/240 ZFS
6338653 Integrate ZFS
PSARC 2004/652 - DKIOCFLUSH
5096886 Write caching disks need mechanism to flush cache to physical media