]> granicus.if.org Git - zfs/commit
Illumos 5960, 5925
authorPaul Dagnelie <pcd@delphix.com>
Tue, 22 Dec 2015 01:31:57 +0000 (02:31 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 Jan 2016 23:08:19 +0000 (15:08 -0800)
commitfcff0f35bd522076bdda7491c88a91cc0aa531a3
tree63e2e9db6fce37f64559cdaaf7247d2f51e85d2d
parent00af2ff6f219b4f73aebaaf9496cf5ea4b6728a3
Illumos 5960, 5925

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>

References:
  https://www.illumos.org/issues/5960
  https://www.illumos.org/issues/5925
  https://github.com/illumos/illumos-gate/commit/a2cdcdd

Porting notes:
- [lib/libzfs/libzfs_sendrecv.c]
  - b8864a2 Fix gcc cast warnings
  - 325f023 Add linux kernel device support
  - 5c3f61e Increase Linux pipe buffer size on 'zfs receive'
- [module/zfs/zfs_vnops.c]
  - 3558fd7 Prototype/structure update for Linux
  - c12e3a5 Restructure zfs_readdir() to fix regressions
- [module/zfs/zvol.c]
  - Function @zvol_map_block() isn't needed in ZoL
  - 9965059 Prefetch start and end of volumes
- [module/zfs/dmu.c]
  - Fixed ISO C90 - mixed declarations and code
  - Function dmu_prefetch() 'int i' is initialized before
    the following code block (c90 vs. c99)
- [module/zfs/dbuf.c]
  - fc5bb51 Fix stack dbuf_hold_impl()
  - 9b67f60 Illumos 4757, 4913
  - 34229a2 Reduce stack usage for recursive traverse_visitbp()
- [module/zfs/dmu_send.c]
  - Fixed ISO C90 - mixed declarations and code
  - b58986e Use large stacks when available
  - 241b541 Illumos 5959 - clean up per-dataset feature count code
  - 77aef6f Use vmem_alloc() for nvlists
  - 00b4602 Add linux kernel memory support

Ported-by: kernelOfTruth kerneloftruth@gmail.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
40 files changed:
cmd/zdb/zdb.c
cmd/zfs/zfs_main.c
cmd/ztest/ztest.c
include/libzfs.h
include/sys/Makefile.am
include/sys/bqueue.h [new file with mode: 0644]
include/sys/dbuf.h
include/sys/dmu.h
include/sys/dsl_dataset.h
include/sys/zfs_context.h
include/sys/zio.h
include/sys/zio_checksum.h
include/sys/zio_priority.h [new file with mode: 0644]
lib/libzfs/libzfs_pool.c
lib/libzfs/libzfs_sendrecv.c
lib/libzpool/Makefile.am
man/man8/zfs.8
module/zfs/Makefile.in
module/zfs/bptree.c
module/zfs/bqueue.c [new file with mode: 0644]
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_diff.c
module/zfs/dmu_object.c
module/zfs/dmu_send.c
module/zfs/dmu_traverse.c
module/zfs/dmu_tx.c
module/zfs/dmu_zfetch.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/spa.c
module/zfs/space_map.c
module/zfs/zap.c
module/zfs/zfs_vfsops.c
module/zfs/zfs_vnops.c
module/zfs/zio.c
module/zfs/zvol.c