Whamcloud - gitweb
LU-3894 mdt: return EXDEV for cross-MDT rename
authorwang di <di.wang@intel.com>
Fri, 6 Sep 2013 07:02:34 +0000 (00:02 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Sep 2013 17:19:58 +0000 (13:19 -0400)
commitf0ae89b4dbbd72f0d12869d6253eefcf6f0e294f
treeb0c744632540b7a2eb872d9e540183c039ffab6f
parent332376aa0a4f7e2c6bb71c41dab35ede9df61519
LU-3894 mdt: return EXDEV for cross-MDT rename

If target does not exist, and source directory is remote
directory, it should return -EXDEV.

Add test in test_24x to verify it.

Create local directory for test_214, since cross-MDT rename
is not allowed yet.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I0d4d8d96249ec23fcea5ab6ac5fce196728e8e73
Reviewed-on: http://review.whamcloud.com/7579
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/include/lustre_fid.h
lustre/mdt/mdt_reint.c
lustre/osd-ldiskfs/osd_oi.c
lustre/tests/sanity.sh