Whamcloud - gitweb
LU-4569 hsm: Prevent copytool from importing existing file. 79/10479/4
authorHenri Doreau <henri.doreau@cea.fr>
Thu, 1 May 2014 09:57:34 +0000 (11:57 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Jun 2014 19:38:38 +0000 (19:38 +0000)
commitf0dfb9fdb3398b010a1b8b3dcc187164d1dda00f
treef756c06f2f0a824f28375457b5e4f208e77b208d
parent4514a3d5f4ec7f882d663188defe6797b0582437
LU-4569 hsm: Prevent copytool from importing existing file.

Requesting import of an already existing FID can lead to data
corruption since both inodes in lustre would refer to the same
file in the backend.

Lustre-change: http://review.whamcloud.com/10185
Lustre-commit: 8dfee22dd5a896144fb913f5f9f0e8f5c0e4ed86

Change-Id: I92d951e3e0796c9bde8bd744f39f242e2aa233eb
Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/10479
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/utils/lhsmtool_posix.c