Print this page
NEX-8972 Async-delete side-effect that may cause unmount EBUSY
Reviewed by: Alek Pinchuk <alek@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-8466 Failed to do 'pkg update' because of beadm failed to create BE, because of EBUSY in umount
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-8466 Failed to do 'pkg update' because of beadm failed to create BE, because of EBUSY in umount
Reviewed by: Alek Pinchuk <alek@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
NEX-4582 update wrc test cases for allow to use write back cache per tree of datasets
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Alex Aizman <alex.aizman@nexenta.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>
NEX-1456 Part 2, port FreeBSD patch - new zfs recv options support

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbe/common/be_create.c
          +++ new/usr/src/lib/libbe/common/be_create.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
       24 + * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
  25   25   * Copyright (c) 2014, 2015 by Delphix. All rights reserved.
  26   26   * Copyright (c) 2016 Martin Matuska. All rights reserved.
  27   27   */
  28   28  
  29   29  /*
  30   30   * System includes
  31   31   */
  32   32  
  33   33  #include <assert.h>
  34   34  #include <ctype.h>
↓ open down ↓ 2430 lines elided ↑ open up ↑
2465 2465                          _exit(1);
2466 2466                  }
2467 2467                  ZFS_CLOSE(zhp);
2468 2468  
2469 2469                  _exit(0);
2470 2470          }
2471 2471  
2472 2472          (void) close(srpipe[1]);
2473 2473  
2474 2474          /* Receive dataset */
2475      -        if (zfs_receive(g_zfs, clone_ds, NULL, &flags, srpipe[0], NULL) != 0) {
     2475 +        if (zfs_receive(g_zfs, clone_ds, &flags, srpipe[0], NULL, NULL,
     2476 +            NULL) != 0) {
2476 2477                  be_print_err(gettext("be_send_fs_callback: failed to "
2477 2478                      "recv dataset (%s)\n"), clone_ds);
2478 2479          }
2479 2480          (void) close(srpipe[0]);
2480 2481  
2481 2482          /* wait for child to exit */
2482 2483          do {
2483 2484                  retval = waitpid(pid, &status, 0);
2484 2485                  if (retval == -1) {
2485 2486                          status = 0;
↓ open down ↓ 608 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX