Project

General

Profile

Bug #4371

DMU code clean up

Added by Christopher Siden over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-11-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Originally filed by Matt Ahrens:

remove DB_GET_SPA, DB_GET_OBJSET
remove dbuf_will_dirty, dbuf_fill_done

when vdev_read_cache() "fails" with ENOMEM, it means that the cache is
disabled; this is not an error, so don't use SET_ERROR().

remove extraneous zfs_dbgmsg() from vdev_disk_get_space().

zfs_znode.c can use VERIFY0() more.

spa.h bitfield macros can assert that their arguments are in range.

History

#1

Updated by Christopher Siden over 5 years ago

  • Status changed from In Progress to Closed
commit 43466aae47bfcd2ad9bf501faec8e75c08095e4f
Author: Max Grossman <max.grossman@delphix.com>
Date:   Mon Dec 9 10:37:51 2013

    4370 avoid transmitting holes during zfs send
    4371 DMU code clean up
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF