Whamcloud - gitweb
LU-1110 fid: add full support for open-by-fid
authorLai Siyao <laisiyao@whamcloud.com>
Wed, 29 Feb 2012 04:44:54 +0000 (12:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Mar 2012 03:34:34 +0000 (23:34 -0400)
commitf69c66ab5688f561a2302705677e240a5fcaf609
treed4d9caa43fad39d177cbaad3bfb917ccd85668c3
parenta5fed8233f4f5755d61909849e23d146a94d4396
LU-1110 fid: add full support for open-by-fid

Op-by-fid which involves parent change are not permitted:
        link/unlink/rename/create/open(CREATE)
return -EPERM directly in case dt operations are triggered, but obf
object doesn't have disk object, which will panic.

Add more sanity tests for op-by-fid.

Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: I10869923e861ac0165886a48880f58e1269554ec
Reviewed-on: http://review.whamcloud.com/2224
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Faccini Bruno <bruno.faccini@bull.net>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/tests/sanity.sh