Whamcloud - gitweb
LU-220 open: try open_by_fid for the known object
authorFan Yong <yong.fan@whamcloud.com>
Wed, 25 Jul 2012 05:20:06 +0000 (13:20 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 27 Jul 2012 05:16:40 +0000 (01:16 -0400)
commitdb89ce2c7e38656817f9a374f33d6963ff81851c
tree0e7d744d8398e1d6afccac22c4813b2eab63a1c0
parentf77ba27d3145cfa32d154a27d9d461797b9d1470
LU-220 open: try open_by_fid for the known object

If the current path for thread1 on client1 is renamed by thread2
on client2, then when thread1 tries to open its current path, it
should use the fid, but not the name. Otherwise, the open on MDS
will hit unexpected "-ENOENT".

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I905113167ebd6fe5f0185007d0e9c77083342680
Reviewed-on: http://review.whamcloud.com/2493
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/llite/file.c
lustre/mdc/mdc_lib.c
lustre/mdt/mdt_open.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c