~ubuntu-branches/ubuntu/trusty/linux-lts-xenial/trusty-proposed

« back to all changes in this revision

Viewing changes to zfs/module/zfs/dmu_object.c

  • Committer: Package Import Robot
  • Author(s): Brad Figg
  • Date: 2016-03-17 09:18:22 UTC
  • Revision ID: package-import@ubuntu.com-20160317091822-1sqft3zxoyt9tumu
Tags: 4.4.0-14.30~14.04.2
* Release Tracking Bug (LP: #1558247)

* Current 4.4 kernel won't boot on powerpc (LP: #1557130)
  - powerpc: Fix dedotify for binutils >= 2.26

* ZFS: send fails to transmit some holes [corruption] (LP: #1557151)
  - Illumos 6370 - ZFS send fails to transmit some holes

* Request to cherry-pick uvcvideo patch for Xenial kernel support of RealSense
  camera (LP: #1557138)
  - UVC: Add support for ds4 depth camera

* use after free of task_struct->numa_faults in task_numa_find_cpu (LP: #1527643)
  - sched/numa: Fix use-after-free bug in the task_numa_compare

* overlay fs regression: chmod fails with "Operation not permitted" on chowned
  files (LP: #1555997)
  - ovl: copy new uid/gid into overlayfs runtime inode

* Miscellaneous Ubuntu changes
  - SAUCE: Dump stack when X.509 certificates cannot be loaded

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 */
21
21
/*
22
22
 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23
 
 * Copyright (c) 2013, 2014 by Delphix. All rights reserved.
 
23
 * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
24
24
 * Copyright 2014 HybridCluster. All rights reserved.
25
25
 */
26
26
 
50
50
                 * reasonably sparse (at most 1/4 full).  Look from the
51
51
                 * beginning once, but after that keep looking from here.
52
52
                 * If we can't find one, just keep going from here.
 
53
                 *
 
54
                 * Note that dmu_traverse depends on the behavior that we use
 
55
                 * multiple blocks of the dnode object before going back to
 
56
                 * reuse objects.  Any change to this algorithm should preserve
 
57
                 * that property or find another solution to the issues
 
58
                 * described in traverse_visitbp.
53
59
                 */
54
60
                if (P2PHASE(object, L2_dnode_count) == 0) {
55
61
                        uint64_t offset = restarted ? object << DNODE_SHIFT : 0;