Whamcloud - gitweb
LU-1697 mdt: create OST-objects for open by fid
authorFan Yong <yong.fan@whamcloud.com>
Sat, 4 Aug 2012 03:07:48 +0000 (11:07 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 7 Aug 2012 16:51:07 +0000 (12:51 -0400)
commit69ca30b81687042661b1d2278086f3746e95cfee
tree1d070bb9939f1d4f46c8bb6250202d3981715c17
parent588d59713667220ce86c2a84ce1c3db434174ff7
LU-1697 mdt: create OST-objects for open by fid

Original prcessing for open by fidi gnored the case of OST-objects
to be created because of re-exporting by NFS or O_LOV_DELAY_CREATE
flags, then MDD failed to find useful stripe EA to create releated
OST-objects.

Rename mdt_open_anon_by_fid() to mdt_open_by_fid_lock() to make it
more match the real use cases.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I3c0e4791f6f74fa6b365d41a8e550dba518b39cc
Reviewed-on: http://review.whamcloud.com/3537
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_open.c