Steven Hartland 95fd54a1c5 Illumos #3740
3740 Poor ZFS send / receive performance due to snapshot
     hold / release processing
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Christopher Siden <christopher.siden@delphix.com>

References:
  https://www.illumos.org/issues/3740
  illumos/illumos-gate@a7a845e4bf

Ported-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1775

Porting notes:

1. 13fe019870c8779bf2f5b3ff731b512cf89133ef introduced a merge conflict
   in dsl_dataset_user_release_tmp where some variables were moved
   outside of the preprocessor directive.

2. dea9dfefdd747534b3846845629d2200f0616dad made the previous merge
   conflict worse by switching KM_SLEEP to KM_PUSHPAGE. This is notable
   because this commit refactors the code, adding a new KM_SLEEP
   allocation. It is not clear to me whether this should be converted
   to KM_PUSHPAGE.

3. We had a merge conflict in libzfs_sendrecv.c because of copyright
   notices.

4. Several small C99 compatibility fixed were made.
2013-11-04 11:17:48 -08:00
..
2013-11-04 10:55:25 -08:00
2013-09-04 16:01:24 -07:00
2013-11-04 10:55:25 -08:00
2013-10-25 13:59:40 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:09 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 11:17:48 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 11:17:48 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 11:17:48 -08:00
2012-10-15 16:01:54 -07:00
2010-08-31 08:38:46 -07:00
2013-10-22 10:12:39 -07:00
2013-10-30 14:51:27 -07:00
2013-10-25 13:59:40 -07:00
2013-10-31 14:58:04 -07:00
2013-09-04 16:01:24 -07:00
2013-09-25 15:44:22 -07:00
2013-11-04 10:55:25 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 09:16:03 -07:00
2013-11-04 10:55:25 -08:00
2013-09-04 16:01:24 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2012-08-27 12:01:37 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2010-08-31 13:41:58 -07:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-05-01 17:05:52 -07:00
2013-10-30 14:51:27 -07:00
2013-11-04 11:17:48 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-08-15 16:19:07 -07:00
2013-10-29 14:54:26 -07:00
2013-10-29 14:54:26 -07:00
2013-10-29 14:54:26 -07:00
2010-09-17 16:24:15 -07:00
2013-10-31 14:58:04 -07:00