Whamcloud - gitweb
LU-4106 mdt: avoid recursive lu_object_find an object 16/10816/2
authorBobi Jam <bobijam.xu@intel.com>
Thu, 17 Oct 2013 07:25:35 +0000 (15:25 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 11 Aug 2014 14:21:59 +0000 (10:21 -0400)
commita3ca08f95334c0163cfb509af53d4a50c3bebc92
tree9523e9f3ed11bd6d688e9981965e264eb53c6963
parent53ce4864e84e9b07c906fdb4e23edc6f118cb517
LU-4106 mdt: avoid recursive lu_object_find an object

LU-3240 (commit 762f2114d282a98ebfa4dbbeea9298a8088ad24e) set parent
dir fid the same as child fid in getattr by fid case we should not
lu_object_find() the object again, could lead to hung if there is a
concurrent unlink destroyed the object.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I75256c0fa684877cbd2e1f36f8ab2ac3faab2989
Reviewed-on: http://review.whamcloud.com/7990
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_handler.c