Whamcloud - gitweb
LU-10278 utils: allow to migrate without direct io 01/30301/4
authorDaniel Kobras <d.kobras@science-computing.de>
Tue, 28 Nov 2017 16:26:00 +0000 (00:26 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 Feb 2018 05:40:08 +0000 (05:40 +0000)
commitadfb154348c742b073a2b8120f2a9bf4c67fb7fa
tree571cc319dedf65a148713d1096c0f5d3925fb018
parent1cfad9351affd7bbf4771dc4c28704ce432744ac
LU-10278 utils: allow to migrate without direct io

Using direct i/o to copy file contents during migration minimizes
cache interference, but may significatly reduce performance.
Introduce new option -D/--non-direct to lfs migrate/lfs_migrate that
leaves the tradeoff at the discretion of the caller.

Signed-off-by: Daniel Kobras <d.kobras@science-computing.de>
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I9c2935ff204ea5385bfc38006c5476b956deb6a7
Reviewed-on: https://review.whamcloud.com/30301
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/lfs-migrate.1
lustre/doc/lfs_migrate.1
lustre/scripts/lfs_migrate
lustre/utils/lfs.c