Whamcloud - gitweb
LU-15107 mdt: Exclusive create isn't replayed 54/45254/6
authorAndriy Skulysh <c17819@cray.com>
Wed, 16 Sep 2020 11:38:41 +0000 (14:38 +0300)
committerOleg Drokin <green@whamcloud.com>
Sun, 21 Nov 2021 20:51:48 +0000 (20:51 +0000)
commitda14903c4394cb476386c475ade5eda12b2a8aa7
tree7e88eb9cf7d6c3dd82f503ca62f4849e6c9b0a1d
parent82835a1952dcb37e8aac8c9d0666016557ea58e7
LU-15107 mdt: Exclusive create isn't replayed

mdt_finish_open() fails on exclusive create check as
there isn't an infrormation that the file was created.

Set DISP_OPEN_CREATE for exclusive open replay,
as we know that the original request has succeeded.

Change-Id: Idc71db76b757670b91b3bb1718870a018a805ed2
HPE-bug-id: LUS-9358
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
Reviewed-on: https://review.whamcloud.com/45254
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_open.c
lustre/tests/replay-single.sh