]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
8 years ago5219 l2arc_write_buffers() may write beyond target_sz
mav [Wed, 14 Oct 2015 07:28:36 +0000 (07:28 +0000)]
5219 l2arc_write_buffers() may write beyond target_sz

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Saso Kiselkov <skiselkov@gmail.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Steven Hartland <steven.hartland@multiplay.co.uk>
Reviewed by: Justin Gibbs <gibbs@FreeBSD.org>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Andriy Gapon <avg@freebsd.org>

illumos/illumos-gate@d7d9a6d919f92d74ea0510a53f8441396048e800

8 years ago6281 prefetching should apply to 1MB reads
mav [Mon, 12 Oct 2015 14:27:27 +0000 (14:27 +0000)]
6281 prefetching should apply to 1MB reads

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Alexander Motin <mav@freebsd.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Justin Gibbs <gibbs@scsiguy.com>
Reviewed by: Xin Li <delphij@freebsd.org>
Approved by: Gordon Ross <gordon.ross@nexenta.com>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@632802744ef6d17e06d6980a95f631615c3b060f

8 years ago6251 add tunable to disable free_bpobj processing
mav [Mon, 12 Oct 2015 14:24:11 +0000 (14:24 +0000)]
6251 add tunable to disable free_bpobj processing

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed by: Albert Lee <trisk@omniti.com>
Reviewed by: Xin Li <delphij@freebsd.org>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@139510fb6efa97dbe5f5479594b308d940cab8d1

8 years ago6250 zvol_dump_init() can hold txg open
mav [Mon, 12 Oct 2015 14:23:00 +0000 (14:23 +0000)]
6250 zvol_dump_init() can hold txg open

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Albert Lee <trisk@omniti.com>
Reviewed by: Xin Li <delphij@freebsd.org>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@b10bba72460aeaa53119c76ff5e647fd5585bece

8 years ago6271 dtrace caused excessive fork time
markj [Thu, 8 Oct 2015 04:29:39 +0000 (04:29 +0000)]
6271 dtrace caused excessive fork time

Author: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Gordon Ross <gwr@nexenta.com>

illumos/illumos-gate@7bd3c1d12d0c764e1517c3aca62c634409356764

8 years ago6266 harden dtrace_difo_chunksize() with respect to malicious DIF
markj [Wed, 30 Sep 2015 03:30:24 +0000 (03:30 +0000)]
6266 harden dtrace_difo_chunksize() with respect to malicious DIF

illumos/illumos-gate@395c7a3dcfc66b8b671dc4b3c4a2f0ca26449922

Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Bryan Cantrill <bryan@joyent.com>

8 years ago6171 dsl_prop_unregister() slows down dataset eviction.
avg [Mon, 21 Sep 2015 12:00:12 +0000 (12:00 +0000)]
6171 dsl_prop_unregister() slows down dataset eviction.

https://github.com/illumos/illumos-gate/commit/03bad06fbb261fd4a7151a70dfeff2f5041cce1f

https://www.illumos.org/issues/6171
  A change to a property on a dataset must be propagated to its descendants
  in case that property is inherited. For datasets whose information is
  not currently loaded into memory (e.g. a snapshot that isn't currently
  mounted), there is nothing to do; the property change will take effect
  the next time that dataset is loaded. To handle updates to datasets that
  are in-core, ZFS registers a callback entry for each property of each
  loaded dataset with the dsl directory that holds that dataset. There
  is a dsl directory associated with each live dataset that references
  both the live dataset and any snapshots of the live dataset. A property
  change is effected by doing a traversal of the tree of dsl directories
  for a pool, starting at the directory sourcing the change, and invoking
  these callbacks.
  The current implementation both registers and de-registers properties
  individually for each loaded dataset. While registration for a property is
  O(1) (insert into a list), de-registration is O(n) (search list and then
  remove). The 'n' for de-registration, however, is not limited to the size
  (number of snapshots + 1) of the dsl directory. The eviction portion
  of the life cycle for the in core state of datasets is asynchronous,
  which allows multiple copies of the dataset information to be in-core
  at once. Only one of these copies is active at any time with the rest
  going through tear down processing, but all copies contribute to the
  cost of performing a dsl_prop_unregister().
  ...
  The fix employed here is to make property de-registration O(1). With
  this change in place, it is hoped that a single thread is more than
  sufficient to handle eviction processing. If it isn't, the problem can
  be solved by increasing the number of threads devoted to the eviction
  taskq.

Author: Justin Gibbs <gibbs@scsiguy.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

8 years ago6220 memleak in l2arc on debug build
avg [Tue, 15 Sep 2015 09:59:13 +0000 (09:59 +0000)]
6220 memleak in l2arc on debug build

https://github.com/illumos/illumos-gate/commit/c546f36aa898d913ff77674fb5ff97f15b2e08b4
https://www.illumos.org/issues/6220
  5408 introduced a memleak in l2arc, namely the member b_thawed gets leaked when
  an arc_hdr is realloced from full to l2only.

Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: George Wilson <george@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Arne Jansen <sensille@gmx.net>

8 years ago6214 zpools going south
delphij [Fri, 11 Sep 2015 23:49:41 +0000 (23:49 +0000)]
6214 zpools going south

illumos/illumos-gate@d4cd038c92c36fd0ae35945831a8fc2975b5272c

Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Arne Jansen <sensille@gmx.net>

8 years ago6091 avl_add doesn't assert on non-debug builds
avg [Fri, 11 Sep 2015 20:43:14 +0000 (20:43 +0000)]
6091 avl_add doesn't assert on non-debug builds

illumos/illumos-gate@faa2b6be2fc102adf9ed584fc1a667b4ddf50d78

https://www.illumos.org/issues/6091
  Long story short, avl_add's use of ASSERT(0) can cause really strange looking
  crashes on non-debug builds of libavl.so because ASSERTs turn into no-ops.
  ...

Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Steve Dougherty <steve@asksteved.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

8 years ago5987 zfs prefetch code needs work
avg [Thu, 10 Sep 2015 16:13:44 +0000 (16:13 +0000)]
5987 zfs prefetch code needs work

illumos/illumos-gate@cf6106c8a0d6598b045811f9650d66e07eb332af

https://www.illumos.org/issues/5987
  The existing ZFS prefetch code (dmu_zfetch.c) has some problems:
  1. It's nearly impossible to understand. e.g. there are an abundance of kstats
  but it's hard to know what they mean (see below).
  2. For some workloads, it detects patterns that aren't really there (e.g.
  strided patterns, backwards scans), and generates needless i/os prefetching
  blocks that will never be referenced.
  3. It has lock contention issues. These are caused primarily by
  dmu_zfetch_colinear() calling dmu_zfetch_dofetch() (which can block waiting for
  i/o) with the zf_rwlock held for writer, thus blocking all other threads
  accessing this file.
  I suggest that we rewrite this code to detect only forward, sequential streams.
  [... truncated ...]

Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Gordon Ross <gordon.ross@nexenta.com>
Author: Matthew Ahrens <mahrens@delphix.com>

8 years ago5997 FRU field not set during pool creation and never updated
avg [Thu, 10 Sep 2015 16:00:04 +0000 (16:00 +0000)]
5997 FRU field not set during pool creation and never updated

illumos/illumos-gate@1437283407f89cab03860accf49408f94559bc34

https://www.illumos.org/issues/5997
  ZFS already supports storing the vdev FRU in a vdev property. There is code in
  libzfs to work with this property, and there is code in the zfs-retire FMA
  module that looks for that information. But there is no code actually setting
  or updating the FRU.
  To address this, ZFS is changed to send a handful of new events whenever a vdev
  is added, attached, cleared, or onlined, as well as when a pool is created or
  imported. The syseventd zfs module will handle these and update the FRU field
  when necessary.

Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Josef Sipek <josef.sipek@nexenta.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Porting notes: only the kernel bits for the new events are imported

8 years ago5692 expose the number of hole blocks in a file
avg [Tue, 18 Aug 2015 14:10:04 +0000 (14:10 +0000)]
5692 expose the number of hole blocks in a file

illumos/illumos-gate@2bcf0248e992f292c7b814458bcdce2f004925d6

https://www.illumos.org/issues/5692
we would like to expose the number of hole (sparse) blocks in a file. this
can be useful to for example if you want to fill in the holes with some
data; knowing the number of holes in advances allows you to report progress
on hole filling. We could use SEEK_HOLE to do that but it would be O(n)
where n is the number of holes present in the file.

Author: Max Grossman <max.grossman@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>

8 years ago5817 change type of arcs_size from uint64_t to refcount_t
mav [Fri, 14 Aug 2015 09:37:54 +0000 (09:37 +0000)]
5817 change type of arcs_size from uint64_t to refcount_t

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Prakash Surya <prakash.surya@delphix.com>

illumos/illumos-gate@2fd872a734cf486007a8dba532cec52bfb4d40e5

As a way to make it more difficult to introduce bugs into the ARC, and to
make it easier to diagnose issues when bugs do creep in, it would be
beneficial to change the type of the arc_state_t's arcs_size field to be
a refcount_t instead of a uint64_t. This would allow us to make stricter
checks when incrementing and decrementing the value with debugging enabled,
but still fallback to simple, fast atomic operations when debugging is
disabled.

8 years ago6096 ZFS_SMB_ACL_RENAME needs to cleanup better
mav [Thu, 13 Aug 2015 00:12:52 +0000 (00:12 +0000)]
6096 ZFS_SMB_ACL_RENAME needs to cleanup better

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: George Wilson <gwilson@zfsmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>

illumos/illumos-gate@8f5190a540d64d2debee6664bbc740e4c38f5b7f

8 years ago6093 zfsctl_shares_lookup should only VN_RELE() on zfs_zget() success
mav [Thu, 13 Aug 2015 00:07:23 +0000 (00:07 +0000)]
6093 zfsctl_shares_lookup should only VN_RELE() on zfs_zget() success

Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@0f92170f1ec2737ee5a0e51b5f74093904811452

8 years ago5959 clean up per-dataset feature count code
mav [Wed, 12 Aug 2015 23:38:58 +0000 (23:38 +0000)]
5959 clean up per-dataset feature count code

Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@ca0cc3918a1789fa839194af2a9245f801a06b1a

A ZFS feature flags (large blocks) tracks its refcounts as the number of
datasets that have ever used the feature. Several features of this type
are planned to be added (new checksum functions). This code should be made
common infrastructure rather than duplicating the code for each feature.

8 years ago5960 zfs recv should prefetch indirect blocks
mav [Wed, 12 Aug 2015 22:36:02 +0000 (22:36 +0000)]
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>
Author: Paul Dagnelie <pcd@delphix.com>

While running 'zfs recv' we noticed that every 128th 8K block required a
read. We were seeing that restore_write() was calling dmu_tx_hold_write()
and the indirect block was not cached. We should prefetch upcoming indirect
blocks to avoid having to go to disk and blocking the restore_write().

8 years ago5765 add support for estimating send stream size with lzc_send_space when so
mav [Wed, 12 Aug 2015 18:08:40 +0000 (18:08 +0000)]
5765 add support for estimating send stream size with lzc_send_space when so
urce is a bookmark

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Albert Lee <trisk@nexenta.com>

illumos/illumos-gate@643da460c8ca583e39ce053081754e24087f84c8

8 years ago5812 assertion failed in zrl_tryenter(): zr_owner==NULL
mav [Mon, 10 Aug 2015 21:36:10 +0000 (21:36 +0000)]
5812 assertion failed in zrl_tryenter(): zr_owner==NULL

Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@8df173054ca442cd8845a7364c3edad9d6822351

8 years ago5810 zdb should print details of bpobj
mav [Mon, 10 Aug 2015 21:32:07 +0000 (21:32 +0000)]
5810 zdb should print details of bpobj

Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@732885fca09e11183dd0ea69aaaab5588fb7dbff

8 years ago5808 spa_check_logs is not necessary on readonly pools
mav [Mon, 10 Aug 2015 21:19:16 +0000 (21:19 +0000)]
5808 spa_check_logs is not necessary on readonly pools

Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@23367a2f2caec1ccb4d918bdd0f2fc2c9cadcd06

8 years ago5701 zpool list reports incorrect "alloc" value for cache devices
mav [Mon, 10 Aug 2015 21:13:31 +0000 (21:13 +0000)]
5701 zpool list reports incorrect "alloc" value for cache devices

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Prakash Surya <prakash.surya@delphix.com>

illumos/illumos-gate@a52fc310ba80fa3b2006110936198de7f828cd94

8 years ago5820 verify failed in zio_done(): BP_EQUAL(bp, io_bp_orig)
mav [Mon, 10 Aug 2015 19:37:43 +0000 (19:37 +0000)]
5820 verify failed in zio_done(): BP_EQUAL(bp, io_bp_orig)

Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Matthew Ahrens <mahrens@delphix.com>

illumod/illumos-gate@34e8acef009195effafdcf6417aec385e241796e

8 years ago5746 more checksumming in zfs send
mav [Mon, 10 Aug 2015 19:32:30 +0000 (19:32 +0000)]
5746 more checksumming in zfs send

Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Albert Lee <trisk@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@98110f08fa182032082d98be2ddb9391fcd62bf1

8 years agoAvoid 128K kmem allocations in mzap_upgrade()
mav [Sun, 9 Aug 2015 20:41:23 +0000 (20:41 +0000)]
Avoid 128K kmem allocations in mzap_upgrade()

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Approved by: Rich Lowe <richlowe@richlowe.net>

illumos/illumos-gate@be3e2ab906b80af79c7b22885f279e45ad8fb995

8 years ago5769 Cast 'zfs bad bloc' to ULL for x86
mav [Sun, 9 Aug 2015 20:32:10 +0000 (20:32 +0000)]
5769 Cast 'zfs bad bloc' to ULL for x86

Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Richard PALO <richard@NetBSD.org>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@8c76e0763bcf0029556e106377da859f6492a7ee

8 years ago5770 Add load_nvlist() error handling
mav [Sun, 9 Aug 2015 20:29:25 +0000 (20:29 +0000)]
5770 Add load_nvlist() error handling

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Reviewed by: Richard PALO <richard@NetBSD.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Brian Behlendorf <behlendorf1@llnl.gov>

illumos/illumos-gate@a45f1c3c5ee26f908655e7762d7e1e2aecdfefbc

8 years ago5694 traverse_prefetcher does not prefetch enough
mav [Sun, 9 Aug 2015 20:22:59 +0000 (20:22 +0000)]
5694 traverse_prefetcher does not prefetch enough

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@34d7ce052c4565b078f73b95ccbd49274e98edaa

8 years ago5693 ztest fails in dbuf_verify: buf[i] == 0, due to dedup and bp_override
mav [Sun, 9 Aug 2015 20:08:14 +0000 (20:08 +0000)]
5693 ztest fails in dbuf_verify: buf[i] == 0, due to dedup and bp_override

Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@7f7ace370074e350853da254c65688fd43ddc695

8 years ago5661 ZFS: "compression = on" should use lz4 if feature is enabled
mav [Sun, 9 Aug 2015 20:01:22 +0000 (20:01 +0000)]
5661 ZFS: "compression = on" should use lz4 if feature is enabled

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Xin LI <delphij@freebsd.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@db1741f555ec79def5e9846e6bfd132248514ffe

8 years ago5630 stale bonus buffer in recycled dnode_t leads to data corruption
mav [Sun, 9 Aug 2015 19:35:08 +0000 (19:35 +0000)]
5630 stale bonus buffer in recycled dnode_t leads to data corruption

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

8 years ago5592 NULL pointer dereference in dsl_prop_notify_all_cb()
mav [Sun, 9 Aug 2015 19:28:31 +0000 (19:28 +0000)]
5592 NULL pointer dereference in dsl_prop_notify_all_cb()

Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Robert Mustacchi <rm@joyent.com>

illumos/illumos-gate@9d47dec0481d8cd53b2c1053c96bfa3f78357d6a

8 years ago5531 NULL pointer dereference in dsl_prop_get_ds()
mav [Sun, 9 Aug 2015 19:25:40 +0000 (19:25 +0000)]
5531 NULL pointer dereference in dsl_prop_get_ds()

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@e57a022b8f718889ffa92adbde47a8f08abcdb25

8 years ago5562 ZFS sa_handle's violate kmem invariants, debug kernels panic on boot
mav [Sun, 9 Aug 2015 19:12:43 +0000 (19:12 +0000)]
5562 ZFS sa_handle's violate kmem invariants, debug kernels panic on boot

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@0fda3cc5c1c5a1d9bdea6d52637bef6e781549c9

8 years ago5695 dmu_sync'ed holes do not retain birth time
avg [Mon, 3 Aug 2015 10:10:49 +0000 (10:10 +0000)]
5695 dmu_sync'ed holes do not retain birth time

illumos/illumos-gate@70163ac57e58ace1c5c94dfbe85dca5a974eff36

https://www.illumos.org/issues/5695
  In dmu_sync_ready(), a hole block pointer will have it's logical size
  explicitly set as it's necessary for replay purposes. To "undo" this,
  dmu_sync_done() will zero out any hole that it finds. This becomes a
  problem when using the "hole_birth" feature, as this will also wipe out
  any birth time that might have happened to be set on the hole.
  ...
  As a fix, the logic to zero out a hole is only applied to old style
  holes with a birth time of zero. Holes created with the "hole_birth"
  feature enabled will have a non-zero birth time, and will be skipped
  (thus preserving the ltime, type, and level information as well).
  In addition, zdb was updated to also print the ltime, type, and level
  information for these new style holes. Previously, only the logical
  birth time would be printed.

Author: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>

9 years ago6033 arc_adjust() should search MFU lists for oldest buffer when adjusting MFU size
avg [Thu, 2 Jul 2015 11:01:27 +0000 (11:01 +0000)]
6033 arc_adjust() should search MFU lists for oldest buffer when adjusting MFU size

illumos/illumos-gate@31c46cf23cd1cf4d66390a983dc5072d7d299ba2

https://www.illumos.org/issues/6033
  When we're looking for the list containing oldest buffer we never actually look
  at the MFU lists even when we try to evict from MFU.
  looks like a copy paste error, the fix is here:

Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Xin Li <delphij@delphij.net>
Reviewed by: Prakash Surya <me@prakashsurya.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Alek Pinchuk <alek@nexenta.com>
Obtained from: illumos

9 years ago5981 Deadlock in dmu_objset_find_dp
avg [Wed, 24 Jun 2015 14:49:49 +0000 (14:49 +0000)]
5981 Deadlock in dmu_objset_find_dp

illumos/illumos-gate@1d3f896f5469c69c1339890ec3d68e9feddb0343

https://www.illumos.org/issues/5981
  When dmu_objset_find_dp gets called with a read lock held, it fans out
  the work to the task queue. Each task in turn acquires its own read
  lock before calling the callback. If during this process anyone tries
  to a acquire a write lock, it will stall all read lock requests.Thus
  the tasks will never finish, the read lock of the caller will never
  get freed and the write lock never acquired.  deadlock.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Arne Jansen <jansen@webgods.de>

9 years ago5269 zpool import slow
avg [Wed, 24 Jun 2015 14:48:25 +0000 (14:48 +0000)]
5269 zpool import slow

illumos/illumos-gate@12380e1e701fda28c9e9f32d01cafb54af279eb5

https://www.illumos.org/issues/5269
  When importing a pool (at boot or with zpool import) with many
  filesystem, the process can take minutes. It doesn't matter whether
  the pool has been exported cleanly or uncleanly.  The problem is that
  each dataset has its own log chain. On import, all datasets have to be
  checked if there are logs to replay.  The idea is to speed up this
  process by paralellizing it.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Arne Jansen <jansen@webgods.de>

9 years ago5911 ZFS "hangs" while deleting file
avg [Mon, 15 Jun 2015 12:50:43 +0000 (12:50 +0000)]
5911 ZFS "hangs" while deleting file

Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Reviewed by: Alek Pinchuk <alek@nexenta.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@46e1baa6cf6d5432f5fd231bb588df8f9570c858

9 years agoRevert r284031: the change was already imported in r283534
avg [Fri, 12 Jun 2015 10:50:31 +0000 (10:50 +0000)]
Revert r284031: the change was already imported in r283534

9 years ago5946 zfs_ioc_space_snaps must check that firstsnap and lastsnap refer to snapshots
avg [Fri, 5 Jun 2015 17:09:59 +0000 (17:09 +0000)]
5946 zfs_ioc_space_snaps must check that firstsnap and lastsnap refer to snapshots

Author: Andriy Gapon <avg@freebsd.org>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Gordon Ross <gordon.ross@nexenta.com>

illumos/illumos-gate@24218bebb460e4015fac2c9f2cec1902eddbcd7b

9 years ago5909 ensure that shared snap names don't become too long after promotion
avg [Fri, 5 Jun 2015 17:08:32 +0000 (17:08 +0000)]
5909 ensure that shared snap names don't become too long after promotion

Author: Andriy Gapon <avg@freebsd.org>
Reviewed by: George Wilson <george@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@cb5842f8b0caaad0ed53535bd77042e933fdbafe

9 years ago5870 dmu_recv_end_check() leaks origin_head hold if error happens in drc_force branch
avg [Fri, 5 Jun 2015 17:07:51 +0000 (17:07 +0000)]
5870 dmu_recv_end_check() leaks origin_head hold if error happens in drc_force branch

Author: Andriy Gapon <avg@freebsd.org>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@beddaa9ce797b9deaafc22b4f156d23f9b45c32d

9 years ago5912 full stream can not be force-received into a dataset if it has a snapshot
avg [Fri, 5 Jun 2015 17:07:13 +0000 (17:07 +0000)]
5912 full stream can not be force-received into a dataset if it has a snapshot

Author: Andriy Gapon <avg@freebsd.org>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@5bae108fe2364722de3aa86e04966a0d33fd027a

9 years ago5961 Fix stack overflow in zfs_create_fs
avg [Fri, 5 Jun 2015 17:06:29 +0000 (17:06 +0000)]
5961 Fix stack overflow in zfs_create_fs

Author: Gleb Smirnoff <glebius@freebsd.org>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@c701fde6911c957e71b37aac4daf672bd828f4d7

9 years ago5438 zfs_blkptr_verify should continue after zfs_panic_recover
avg [Fri, 5 Jun 2015 17:04:50 +0000 (17:04 +0000)]
5438 zfs_blkptr_verify should continue after zfs_panic_recover

Author: Justin Gibbs <gibbs@scsiguy.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Xin LI <delphij@freebsd.org>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@5897eb49ccde82d19214b71984f57935e7e313d1

9 years ago5515 dataset user hold doesn't reject empty tags
avg [Fri, 5 Jun 2015 16:52:23 +0000 (16:52 +0000)]
5515 dataset user hold doesn't reject empty tags

Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@752fd8dabccac68d6d09f82f3bf3561e055e400b

9 years ago5818 zfs {ref}compressratio is incorrect with 4k sector size
avg [Fri, 5 Jun 2015 16:49:21 +0000 (16:49 +0000)]
5818 zfs {ref}compressratio is incorrect with 4k sector size

Author: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Don Brady <dev.fs.zfs@gmail.com>
Approved by: Albert Lee <trisk@omniti.com>

illumos/illumos-gate@81cd5c555f505484180a62ca5a2fbb00d70c57d6

9 years ago5515 dataset user hold doesn't reject empty tags
avg [Mon, 25 May 2015 15:18:32 +0000 (15:18 +0000)]
5515 dataset user hold doesn't reject empty tags

Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@752fd8dabccac68d6d09f82f3bf3561e055e400b

9 years ago5930 fasttrap_pid_enable() panics when prfind() fails in forking process
markj [Mon, 25 May 2015 02:32:30 +0000 (02:32 +0000)]
5930 fasttrap_pid_enable() panics when prfind() fails in forking process
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Bryan Cantrill <bryan@joyent.com>

illumos/illumos-gate@9df7e4e12eb093557252d3bec029b5c382613e36

9 years ago3599 dtrace_dynvar tail calls can blow stack
markj [Mon, 25 May 2015 02:30:54 +0000 (02:30 +0000)]
3599 dtrace_dynvar tail calls can blow stack
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Bryan Cantrill <bryan@joyent.com>

illumos/illumos-gate@d47448f09aae3aa1a87fc450a0c44638e7ce7b51

9 years ago5809 Blowaway full receive in v1 pool causes kernel panic
avg [Fri, 8 May 2015 13:55:24 +0000 (13:55 +0000)]
5809 Blowaway full receive in v1 pool causes kernel panic

Author: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Gordon Ross <gwr@nexenta.com>

illumos/illumos-gate@f40b29ce2a815bcc0787acf6f520a2b74258b785

9 years ago5393 spurious failures from dsl_dataset_hold_obj()
avg [Tue, 28 Apr 2015 07:15:34 +0000 (07:15 +0000)]
5393 spurious failures from dsl_dataset_hold_obj()

Author: Justin T. Gibbs <justing@spectralogic.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Will Andrews <willa@spectralogic.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@e1f3c208abda53769a6531bb1141618555273460

9 years ago5610 zfs clone from different source and target pools produces coredump
avg [Tue, 28 Apr 2015 07:14:08 +0000 (07:14 +0000)]
5610 zfs clone from different source and target pools produces coredump

Author: Alexander Eremin <a.eremin@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@03b1c2971d24a9cd2c073d634f7e074fbd14e984

9 years agoSync Makefile.files to illumos-gate@244781f10dcd82684fd8163c016540667842f203.
delphij [Sun, 19 Apr 2015 23:45:04 +0000 (23:45 +0000)]
Sync Makefile.files to illumos-gate@244781f10dcd82684fd8163c016540667842f203.

9 years ago5497 lock contention on arcs_mtx
delphij [Tue, 20 Jan 2015 20:17:29 +0000 (20:17 +0000)]
5497 lock contention on arcs_mtx
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Prakash Surya <prakash.surya@delphix.com>

illumos/illumos-gate@244781f10dcd82684fd8163c016540667842f203

9 years ago5313 Allow I/Os to be aggregated across ZIO priority classes
delphij [Tue, 20 Jan 2015 20:14:50 +0000 (20:14 +0000)]
5313 Allow I/Os to be aggregated across ZIO priority classes
Reviewed by: Andriy Gapon <avg@FreeBSD.org>
Reviewed by: Will Andrews <willa@SpectraLogic.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@fe319232d24f4ae183730a5a24a09423d8ab4429

9 years ago5056 ZFS deadlock on db_mtx and dn_holds
delphij [Tue, 20 Jan 2015 20:11:30 +0000 (20:11 +0000)]
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>
Author: Justin Gibbs <justing@spectralogic.com>

illumos/illumos-gate@bc9014e6a81272073b9854d9f65dd59e18d18c35

9 years ago5445 Add more visibility via arcstats; specifically arc_state_t stats and differentia...
delphij [Tue, 20 Jan 2015 20:10:03 +0000 (20:10 +0000)]
5445 Add more visibility via arcstats; specifically arc_state_t stats and differentiate between "data" and "metadata"
Reviewed by: Basil Crow <basil.crow@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Prakash Surya <prakash.surya@delphix.com>

illumos/illumos-gate@4076b1bf41cfd9f968a33ed54a7ae76d9e996fe8

9 years ago5408 managing ZFS cache devices requires lots of RAM
delphij [Tue, 20 Jan 2015 20:08:50 +0000 (20:08 +0000)]
5408 managing ZFS cache devices requires lots of RAM
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Don Brady <dev.fs.zfs@gmail.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Chris Williamson <Chris.Williamson@delphix.com>

illumos/illumos-gate@89c86e32293a30cdd7af530c38b2073fee01411c

9 years ago5376 arc_kmem_reap_now() should not result in clearing arc_no_grow
delphij [Tue, 20 Jan 2015 20:04:51 +0000 (20:04 +0000)]
5376 arc_kmem_reap_now() should not result in clearing arc_no_grow
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@2ec99e3e987d8aa273f1e9ba2b983557d058198c

9 years ago5422 preserve AVL invariants in dn_dbufs
delphij [Thu, 18 Dec 2014 18:59:26 +0000 (18:59 +0000)]
5422 preserve AVL invariants in dn_dbufs
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Alex Reece <alex@delphix.com>

illumos/illumos-gate@a846f19d279fdfb0e0d63f78ccaf0205a88274d2

9 years ago5369 arc flags should be an enum
delphij [Mon, 15 Dec 2014 07:59:33 +0000 (07:59 +0000)]
5369 arc flags should be an enum
5370 consistent arc_buf_hdr_t naming scheme
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@7adb730b589e553bf3b1ccfd9bae2df91c5c1061

9 years ago5314 Remove "dbuf phys" db->db_data pointer aliases in ZFS
delphij [Sat, 6 Dec 2014 00:50:57 +0000 (00:50 +0000)]
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>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@c1379625401dfbe1c39b79136dd384a571d47fde

9 years ago5347 idle pool may run itself out of space
delphij [Sat, 6 Dec 2014 00:47:31 +0000 (00:47 +0000)]
5347 idle pool may run itself out of space
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@231aab857f14a3e7a0ed5f2879399c3cd6ae92ea

9 years ago5368 ARC should cache more metadata
delphij [Sat, 6 Dec 2014 00:45:27 +0000 (00:45 +0000)]
5368 ARC should cache more metadata
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@3a5286a1cffceafcd8cf79c4156fad605129bf50

9 years ago5349 verify that block pointer is plausible before reading
delphij [Sat, 6 Dec 2014 00:42:30 +0000 (00:42 +0000)]
5349 verify that block pointer is plausible before reading
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Xin Li <delphij@FreeBSD.org>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@f63ab3d5a84a12b474655fc7e700db3efba6c4c9

9 years ago5351 scrub goes for an extra second each txg
delphij [Sat, 6 Dec 2014 00:37:00 +0000 (00:37 +0000)]
5351 scrub goes for an extra second each txg
5352 scrub should pause when there is some dirty data
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@6f6a76adacda33b10633476dc6c5d66d7f17dd94

9 years ago5348 zio_checksum_error() only fills in info if ECKSUM
delphij [Sat, 6 Dec 2014 00:34:25 +0000 (00:34 +0000)]
5348 zio_checksum_error() only fills in info if ECKSUM
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@373dc1cf9a4e0791397a9b268cdac1f664af58a8

9 years ago5350 clean up code in dnode_sync()
delphij [Sat, 6 Dec 2014 00:33:09 +0000 (00:33 +0000)]
5350 clean up code in dnode_sync()
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@e6518318428d2be1962bf2d47fd83ebfe8cb2736

9 years ago5310 Remove always true tests for non-NULL ds->ds_phys
delphij [Sat, 6 Dec 2014 00:31:58 +0000 (00:31 +0000)]
5310 Remove always true tests for non-NULL ds->ds_phys
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Will Andrews <willa@spectralogic.com>
Reviewed by: Andriy Gapon <avg@FreeBSD.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@d808a4fc6ac40e878a28e96f1ad7dd2ec439bfbf

9 years ago5311 traverse_dnode may report success when it should not
delphij [Sat, 6 Dec 2014 00:18:53 +0000 (00:18 +0000)]
5311 traverse_dnode may report success when it should not
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Andriy Gapon <avg@FreeBSD.org>
Reviewed by: Will Andrews <willa@spectralogic.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Justin T. Gibbs <justing@spectralogic.com>

illumos/illumos-gate@2a89c2c59b7c2beb2373c14368cbe7e32af6ffc1

9 years ago5213 panic in metaslab_init due to space_map_open returning ENXIO
delphij [Sat, 6 Dec 2014 00:14:38 +0000 (00:14 +0000)]
5213 panic in metaslab_init due to space_map_open returning ENXIO
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Steven Hartland <steven.hartland@multiplay.co.uk>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Prakash Surya <prakash.surya@delphix.com>

illumos/illumos-gate@1e9bd7ec42f2d3bf854c2da35310901194833267

9 years ago5179 Remove unused ZFS ARC functions
delphij [Sat, 6 Dec 2014 00:12:58 +0000 (00:12 +0000)]
5179 Remove unused ZFS ARC functions
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Steve Gonczi <gonczi@comcast.net>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Serapheim Dimitropoulos <serapheimd@gmail.com>

illumos/illumos-gate@fbefb14f62976763eeaa74a0c1ac68accb38cf44

9 years ago5255 uts shouldn't open-code ISP2
delphij [Fri, 5 Dec 2014 23:55:44 +0000 (23:55 +0000)]
5255 uts shouldn't open-code ISP2
Reviewed by: Marcel Telka <marcel@telka.sk>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

illumos/illumos-gate@de710d24d2fae4468e64da999e1d952a247f142c

9 years ago5285 pass in cpu_pause_func via pause_cpus
delphij [Fri, 5 Dec 2014 23:51:20 +0000 (23:51 +0000)]
5285 pass in cpu_pause_func via pause_cpus
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

illumos/illumos-gate@0ed5c46e82c989cfa9726d9dae452e3d24ef83be

9 years ago5100 sparc build failed after 5004
delphij [Fri, 5 Dec 2014 23:50:16 +0000 (23:50 +0000)]
5100 sparc build failed after 5004
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Igor Kozhukhov <ikozhukhov@gmail.com>

illumos/illuoms-gate@6481fd49a4385db15285ddf89f9c80b45eaaa407

9 years ago5027 zfs large block support
delphij [Sat, 8 Nov 2014 06:43:33 +0000 (06:43 +0000)]
5027 zfs large block support
Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <matt@mahrens.org>

illumos/illumos-gate@b515258426fed6c7311fd3f1dea697cfbd4085c6

9 years ago5244 zio pipeline callers should explicitly invoke next stage
delphij [Sat, 8 Nov 2014 06:34:37 +0000 (06:34 +0000)]
5244 zio pipeline callers should explicitly invoke next stage
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@738f37bc3dcd61e8a893af0f2d466d76690b70ec

9 years ago5243 zdb -b could be much faster
delphij [Sat, 8 Nov 2014 06:31:51 +0000 (06:31 +0000)]
5243 zdb -b could be much faster
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@f7950bf1145637c6dc57742a8bb95631fd5c846f

9 years ago3693 restore_object uses at least two transactions to restore an object
delphij [Thu, 9 Oct 2014 05:53:04 +0000 (05:53 +0000)]
3693 restore_object uses at least two transactions to restore an object
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Andriy Gapon <andriy.gapon@hybridcluster.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@e77d42eaa49fe55bfae1e0e0065c6e99affc001b

9 years ago5175 implement dmu_read_uio_dbuf() to improve cached read performance
delphij [Thu, 9 Oct 2014 05:50:23 +0000 (05:50 +0000)]
5175 implement dmu_read_uio_dbuf() to improve cached read performance
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@f8554bb92be6be88a684bea58293b41a6168a538

9 years ago5162 zfs recv should use loaned arc buffer to avoid copy
delphij [Mon, 6 Oct 2014 06:04:10 +0000 (06:04 +0000)]
5162 zfs recv should use loaned arc buffer to avoid copy
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@8a9047098ad8ce5afa38b6d012c8b509bb619f40

9 years ago5176 lock contention on godfather zio
delphij [Mon, 6 Oct 2014 05:54:39 +0000 (05:54 +0000)]
5176 lock contention on godfather zio
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@6f834bc197c703a6568554c889157fb345bac079

9 years ago5177 remove dead code from dsl_scan.c
delphij [Sat, 4 Oct 2014 07:50:06 +0000 (07:50 +0000)]
5177 remove dead code from dsl_scan.c
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@5f37736ac8f99922368294d745d3fefa22b49d11

9 years ago5150 zfs clone of a defer_destroy snapshot causes strangeness
delphij [Sat, 4 Oct 2014 07:49:06 +0000 (07:49 +0000)]
5150 zfs clone of a defer_destroy snapshot causes strangeness
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@42fcb65ea4f2c6f8cc5a3c6142a486cb49871fd2

9 years ago5174 add sdt probe for blocked read in dbuf_read()
delphij [Sat, 4 Oct 2014 07:38:59 +0000 (07:38 +0000)]
5174 add sdt probe for blocked read in dbuf_read()
Reviewed by: Basil Crow <basil.crow@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Adam H. Leventhal <ahl@delphix.com>

illumos/illumos-gate@f6164ad638e7346c4ae4ba393760a897cf6eb744

9 years ago5149 zvols need a way to ignore DKIOCFREE
delphij [Sat, 4 Oct 2014 07:37:17 +0000 (07:37 +0000)]
5149 zvols need a way to ignore DKIOCFREE
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <matthew.ahrens@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@893c83ba3e1c87a785b5274ce2ef02f45fba6087

9 years ago5148 zvol's DKIOCFREE holds zfsdev_state_lock too long
delphij [Sat, 4 Oct 2014 07:35:50 +0000 (07:35 +0000)]
5148 zvol's DKIOCFREE holds zfsdev_state_lock too long
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@574e2414ac6a50c9d6097c2e4a98eb9263f90c44

9 years ago5161 add tunable for number of metaslabs per vdev
delphij [Sat, 4 Oct 2014 07:34:50 +0000 (07:34 +0000)]
5161 add tunable for number of metaslabs per vdev
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@bf3e216c7efa56332b456f4cf19d208e21d63839

9 years ago5163 arc should reap range_seg_cache
delphij [Sat, 4 Oct 2014 07:32:19 +0000 (07:32 +0000)]
5163 arc should reap range_seg_cache
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos@83803b51e1fa57fbf4e86ca5aa58eab6c5822dae

9 years ago5164 space_map_max_blksz causes panic, does not work
delphij [Sat, 4 Oct 2014 07:26:42 +0000 (07:26 +0000)]
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>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@b1be2892dd07cf9a97d47ad06334cdc879196aaf

9 years ago5139 SEEK_HOLE failed to report a hole at end of file
delphij [Sat, 13 Sep 2014 15:34:12 +0000 (15:34 +0000)]
5139 SEEK_HOLE failed to report a hole at end of file
Reviewed by: Adam Leventhal <adam.leventhal@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Peng Dai <peng.dai@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@0fbc0cd0e52a11f6c4397a1714f94412cbf98b60

9 years ago5140 message about "%recv could not be opened" is printed when booting after crash
delphij [Sat, 13 Sep 2014 15:31:37 +0000 (15:31 +0000)]
5140 message about "%recv could not be opened" is printed when booting after crash
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@22438533bcc131ecebd4c16c699c35e91d321b76

9 years ago5138 add tunable for maximum number of blocks freed in one txg
delphij [Sat, 13 Sep 2014 15:24:35 +0000 (15:24 +0000)]
5138 add tunable for maximum number of blocks freed in one txg
Reviewed by: Adam Leventhal <adam.leventhal@delphix.com>
Reviewed by: Mattew Ahrens <mahrens@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Max Grossman <max.grossman@delphix.com>

illumos/illumos-gate@af3465da8fa420c4ec701e3e57704d537a6f755b

9 years ago5136 fix write throttle comment in dsl_pool.c
delphij [Sat, 13 Sep 2014 15:05:10 +0000 (15:05 +0000)]
5136 fix write throttle comment in dsl_pool.c
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@d85a1e969ce08b3bc4a7cb3626a6e33a28b5caeb

9 years ago5151 blkdev should support reporting of physical block size
delphij [Sat, 13 Sep 2014 14:23:51 +0000 (14:23 +0000)]
5151 blkdev should support reporting of physical block size
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Hans Rosenfeld <hans.rosenfeld@nexenta.com>

illumos/illumos-gate@32ce6b819524e8719d4ce58db40a00e9f17843e2

9 years ago5117 space map reallocation can cause corruption
delphij [Sun, 7 Sep 2014 12:07:26 +0000 (12:07 +0000)]
5117 space map reallocation can cause corruption
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: George Wilson <george.wilson@delphix.com>

illumos/illumos-gate@e503a685964805f048b35c2a4e70e0638344f2b7

9 years ago5095 panic when adding a duplicate dbuf to dn_dbufs
delphij [Wed, 20 Aug 2014 06:34:24 +0000 (06:34 +0000)]
5095 panic when adding a duplicate dbuf to dn_dbufs
Reviewed by: Adam Leventhal <adam.leventhal@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Mattew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Alex Reece <alex@delphix.com>

illumos/illumos-gate@86bb58aec7165f8a0303564575c65e5a2ad58bf1