]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zio.c
Illumos 4757, 4913
authorMatthew Ahrens <mahrens@delphix.com>
Thu, 5 Jun 2014 21:19:08 +0000 (13:19 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 1 Aug 2014 21:28:05 +0000 (14:28 -0700)
commit9b67f605601c77c814037613d8129562db642a29
tree21a3270ed7eda24858e56a9584f64f6359f4b28f
parentfaf0f58c69607a15e2d1563567afb815842805de
Illumos 4757, 4913

4757 ZFS embedded-data block pointers ("zero block compression")
4913 zfs release should not be subject to space checks

Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>

References:
  https://www.illumos.org/issues/4757
  https://www.illumos.org/issues/4913
  https://github.com/illumos/illumos-gate/commit/5d7b4d4

Porting notes:

For compatibility with the fastpath code the zio_done() function
needed to be updated.  Because embedded-data block pointers do
not require DVAs to be allocated the associated vdevs will not
be marked and therefore should not be unmarked.

Ported by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2544
46 files changed:
cmd/zdb/zdb.c
cmd/zfs/zfs_main.c
cmd/zstreamdump/zstreamdump.c
cmd/ztest/ztest.c
include/libzfs.h
include/libzfs_core.h
include/sys/Makefile.am
include/sys/blkptr.h [new file with mode: 0644]
include/sys/dbuf.h
include/sys/dmu.h
include/sys/dmu_impl.h
include/sys/dmu_send.h
include/sys/spa.h
include/sys/spa_impl.h
include/sys/zfs_ioctl.h
include/sys/zio.h
include/zfeature_common.h
lib/libzfs/libzfs_sendrecv.c
lib/libzfs_core/libzfs_core.c
lib/libzpool/Makefile.am
man/man5/zpool-features.5
man/man8/zfs.8
module/zfs/Makefile.in
module/zfs/arc.c
module/zfs/blkptr.c [new file with mode: 0644]
module/zfs/bpobj.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dmu_send.c
module/zfs/dmu_traverse.c
module/zfs/dnode.c
module/zfs/dnode_sync.c
module/zfs/dsl_dataset.c
module/zfs/dsl_destroy.c
module/zfs/dsl_scan.c
module/zfs/dsl_userhold.c
module/zfs/metaslab.c
module/zfs/spa.c
module/zfs/spa_misc.c
module/zfs/zfeature_common.c
module/zfs/zfs_ioctl.c
module/zfs/zil.c
module/zfs/zio.c
module/zfs/zio_checksum.c
module/zfs/zio_compress.c