Whamcloud - gitweb
LU-12848 tests: link succeded to an ophan remote object 91/35991/14
authorAlexander Zarochentsev <c17826@cray.com>
Mon, 12 Aug 2019 20:59:05 +0000 (23:59 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Aug 2021 06:22:48 +0000 (06:22 +0000)
commitdcad0502b5682ab76ce4456573dc7060bcce7da0
tree600aabcb61ef0e4b9a82fe5567532cfb3d485715
parent83f5544d8518ad12ea49e27829fff8f2739b86e2
LU-12848 tests: link succeded to an ophan remote object

An open file gets unlinked by rename,
at the same time a cross-mdt link is able to create a name
for a dying object. That causes a file system corruption
seeing as a failed attempt to remove the test dir, also
e2fsck would see an unconnected inode.

Cray-bug-id: LUS-6208
Test-Parameters: mdtcount=2 envdefinitions=ONLY=111 testlist=sanityn
Change-Id: Ic1fde278e5f4b53eaf5560ab50fe460d8c7f7dc3
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-on: https://review.whamcloud.com/35991
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/mdt/mdt_reint.c
lustre/tests/sanityn.sh