Whamcloud - gitweb
LU-15009 ofd: continue precreate if LAST_ID is less on MDT
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 16 Sep 2021 21:49:33 +0000 (17:49 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 27 Oct 2022 03:17:53 +0000 (03:17 +0000)
commit48ee310df80e34a0427f98e52bf7b03a86fe3409
treeadbde95cea04eac53cfd2c13e6d29062dbaabc8a
parentd814318d8f15cdfa062b3b20bfe036f5b825f60e
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-on: https://review.whamcloud.com/c/ex/lustre-release/+/48923
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ofd/ofd_dev.c