Whamcloud - gitweb
LU-15009 ofd: continue precreate if LAST_ID is less on MDT 30/45930/2
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 16 Sep 2021 21:49:33 +0000 (17:49 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 30 Jan 2022 03:41:54 +0000 (03:41 +0000)
commit62d4e1d5f1be33abd3ee9f58cc09d471e22ee7ad
tree97735e7fd86568f999eec3d7ab0f90338845808f
parent57583a7a3995ec931868ef85445059e988bff6fe
LU-15009 ofd: continue precreate if LAST_ID is less on MDT

It's possible that precreate succeeded on OST, but MDT didn't get the
reply, and assumed failure. In this case, the LAST_ID on MDT is
smaller than that on OST, instead of report error and stop precreate,
it's better to move precreate window forward.

Lustre-change: https://review.whamcloud.com/44984
Lustre-commit: 1711e26ae861c28829870c2433caf7ee232909cf

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ia6ca418ec0ea6797b7eccc1610879331307fad07
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45930
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ofd/ofd_dev.c