Whamcloud - gitweb
LU-4803 ofd: skip orphan cleanup when inject OI error 59/9759/4
authorFan Yong <fan.yong@intel.com>
Mon, 10 Mar 2014 04:16:51 +0000 (12:16 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 17 Apr 2014 03:48:48 +0000 (03:48 +0000)
commit0bafbd7d8f652997d83b3cc2419894f48833f424
treecf50d6ee9cfa5b2ccbfe6c140f7fe2a00148a41c
parent50eeb38a8c1ca26c5837149aa442288af8d4fc45
LU-4803 ofd: skip orphan cleanup when inject OI error

When inject OI error for simulating some failure cases, the object
may be mapped to invalid local target (inode for ldiskfs), so skip
the orphan cleanup in OSP to avoid unexpected warning or destroy.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I8e0a8a9bb4ae584fc8f40f894a19e8f10aa24c10
Reviewed-on: http://review.whamcloud.com/9759
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/ofd/ofd_dev.c
lustre/osd-ldiskfs/osd_handler.c
lustre/tests/sanity-scrub.sh