Whamcloud - gitweb
LU-11418 mdd: delete name if orphan doesn't exist 61/33661/7
authorLai Siyao <lai.siyao@intel.com>
Tue, 23 Oct 2018 11:17:20 +0000 (19:17 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 23 Jan 2019 09:17:54 +0000 (09:17 +0000)
commitfffef5c29e3bdf0f96168abc3d0488bad06f33bb
tree46ff0d98f9896df71cdb52269690c3c811814484
parentd187a78afc960849c3eb86a1a0559c9ba00e8cdf
LU-11418 mdd: delete name if orphan doesn't exist

mdd_orphan_destroy() should delete name if orphan object doesn't
exist, otherwise the orphan clean thread will try to destroy this
orphan in dead loop.

add sanity test_811.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Id22b2fab0ac87dfb81ca9f01d8ed0338f1b12120
Reviewed-on: https://review.whamcloud.com/33661
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/mdd/mdd_orphans.c
lustre/tests/sanity.sh