freebsd-dev/module/zfs
Marcel Telka 812e91a7e3 Illumos 4039 - zfs_rename()/zfs_link() needs stronger test for XDEV
4039 zfs_rename()/zfs_link() needs stronger test for XDEV
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@nexenta.com>

References:
  https://www.illumos.org/issues/4039
  https://github.com/illumos/illumos-gate/commit/18e6497

Porting notes:
- This check was updated in Linux in a similar fashion early on in
  the port.  Therefore, this patch just reorders the function and
  updates the comment so it flows the same way as the upstream code.

Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4218
2016-01-15 15:38:35 -08:00
..
arc.c Illumos 5987 - zfs prefetch code needs work 2016-01-12 09:02:33 -08:00
blkptr.c
bplist.c
bpobj.c
bptree.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
bqueue.c Allow 16M send/recv blocks 2016-01-08 20:23:23 -05:00
dbuf_stats.c
dbuf.c Illumos 6288 - dmu_buf_will_dirty could be faster 2016-01-12 09:13:52 -08:00
ddt_zap.c
ddt.c
dmu_diff.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dmu_object.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dmu_objset.c Illumos 6171 - dsl_prop_unregister() slows down dataset eviction. 2016-01-12 10:53:12 -08:00
dmu_send.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dmu_traverse.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dmu_tx.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dmu_zfetch.c Illumos 6281 - prefetching should apply to 1MB reads 2016-01-12 13:51:27 -08:00
dmu.c Illumos 6281 - prefetching should apply to 1MB reads 2016-01-12 13:51:27 -08:00
dnode_sync.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dnode.c Illumos 5987 - zfs prefetch code needs work 2016-01-12 09:02:33 -08:00
dsl_bookmark.c
dsl_dataset.c Illumos 6171 - dsl_prop_unregister() slows down dataset eviction. 2016-01-12 10:53:12 -08:00
dsl_deadlist.c
dsl_deleg.c
dsl_destroy.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
dsl_dir.c Illumos 6171 - dsl_prop_unregister() slows down dataset eviction. 2016-01-12 10:53:12 -08:00
dsl_pool.c
dsl_prop.c Illumos 6171 - dsl_prop_unregister() slows down dataset eviction. 2016-01-12 10:53:12 -08:00
dsl_scan.c Illumos 6292 - exporting a pool while an async destroy 2016-01-12 09:10:52 -08:00
dsl_synctask.c
dsl_userhold.c
fm.c
gzip.c
lz4.c
lzjb.c
Makefile.in Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
metaslab.c Remove fastwrite mutex 2016-01-15 15:38:35 -08:00
multilist.c
range_tree.c
refcount.c
rrwlock.c
sa.c Prevent SA length overflow 2015-12-30 13:20:12 -08:00
sha256.c
spa_boot.c
spa_config.c Illumos 3749 - zfs event processing should work on R/O root filesystems 2016-01-12 14:42:32 -08:00
spa_errlog.c
spa_history.c
spa_misc.c Illumos 6367 - spa_config_tryenter incorrectly handles the multiple-lock case 2016-01-12 11:05:28 -08:00
spa_stats.c
spa.c Illumos 3749 - zfs event processing should work on R/O root filesystems 2016-01-12 14:42:32 -08:00
space_map.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
space_reftree.c
trace.c
txg.c Increase default user space stack size 2016-01-13 13:55:12 -08:00
uberblock.c
unique.c
vdev_cache.c
vdev_disk.c
vdev_file.c
vdev_label.c
vdev_mirror.c
vdev_missing.c
vdev_queue.c
vdev_raidz.c
vdev_root.c
vdev.c
zap_leaf.c
zap_micro.c
zap.c Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
zfeature_common.c
zfeature.c
zfs_acl.c
zfs_byteswap.c
zfs_ctldir.c
zfs_debug.c
zfs_dir.c Make xattr dir truncate and remove in one tx 2015-12-28 09:48:26 -08:00
zfs_fm.c
zfs_fuid.c
zfs_ioctl.c Illumos 5515 - dataset user hold doesn't reject empty tags 2016-01-12 13:52:26 -08:00
zfs_log.c
zfs_onexit.c
zfs_replay.c
zfs_rlock.c
zfs_sa.c Prevent SA length overflow 2015-12-30 13:20:12 -08:00
zfs_vfsops.c Fix zsb->z_hold_mtx deadlock 2016-01-15 15:33:45 -08:00
zfs_vnops.c Illumos 4039 - zfs_rename()/zfs_link() needs stronger test for XDEV 2016-01-15 15:38:35 -08:00
zfs_znode.c Fix zsb->z_hold_mtx deadlock 2016-01-15 15:33:45 -08:00
zil.c
zio_checksum.c
zio_compress.c
zio_inject.c
zio.c Illumos 5438 - zfs_blkptr_verify should continue after zfs_panic_recover 2016-01-12 13:54:05 -08:00
zle.c
zpl_ctldir.c
zpl_export.c
zpl_file.c
zpl_inode.c Fix casesensitivity=insensitive deadlock 2016-01-08 11:05:07 -08:00
zpl_super.c
zpl_xattr.c Prevent duplicated xattr between SA and dir 2016-01-15 15:38:35 -08:00
zrlock.c
zvol.c Illumos 3557, 3558, 3559, 3560 2016-01-15 15:38:35 -08:00