Whamcloud - gitweb
LU-14992 mdt: restore mkdir VBR support 14/55714/3
authorLai Siyao <lai.siyao@whamcloud.com>
Sun, 2 Jun 2024 16:02:45 +0000 (12:02 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Jul 2024 04:42:23 +0000 (04:42 +0000)
commit652032d6c18caffc0782d49e5d5e373010f2bc61
treef512632ad652e59af0bd98345b4eed3b63602a54
parent12b3eec8e3d0be37d35c38cd0c67a57f14cbfb8c
LU-14992 mdt: restore mkdir VBR support

The patch of LU-14470 (striped mkdir replay by client request) broke
the mkdir VBR support: in mkdir replay, if target exists, it should
do version check instead of return -EEXIST directly, otherwise the
VBR support is broken.

Fixes: a2e997f0be ("LU-14470 dne: striped mkdir replay by client request")
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I858499f3ef5315bbce9538733400cf6102675e4c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55714
Tested-by: jenkins <devops@whamcloud.com>
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/mdt/mdt_reint.c