Whamcloud - gitweb
LU-3894 mdt: return EXDEV for cross-MDT rename 79/7579/4
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:39 +0000 (17:19 +0000)
commit5e3678542301482e8e344df26d0624c014c2961a
treee797acc7d0b5cdc66ed266e95a9875e0ee8eb881
parent39871df164bcd09a2e0d8b60c74dd2bb0c1151be
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