Whamcloud - gitweb
LU-6051 utils: allow lfs_migrate to migrate links 99/30799/2
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 10 Jun 2017 02:39:11 +0000 (20:39 -0600)
committerJohn L. Hammond <john.hammond@intel.com>
Fri, 9 Feb 2018 16:58:14 +0000 (16:58 +0000)
commit84e0507e79b2baa5b011aed17989395d79ec7f8a
treee4491b792f53f4a1b33a1df8efb23ce06ca348b6
parent56d0f3df87f4fecae028d7aace73f8979f54ae94
LU-6051 utils: allow lfs_migrate to migrate links

When running on a server that supports "lfs migrate", it is possible
to migrate hard links transparently.  This is still not possible for
servers that do not support "lfs migrate" (layout swap) so we still
need to keep the hard-link check if "lfs migrate" fails.

Add test for migrating many hardlinks on supported kernels.

Test-Parameters: trivial
Lustre-change: https://review.whamcloud.com/27553
Lustre-commit: 6086d0d69c84ce57c4daff18595fa7b620ed2b04

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I7fa1c70611aa7dd61f822844d5fe339f730640e5
Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30799
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/scripts/lfs_migrate
lustre/tests/sanity.sh