Whamcloud - gitweb
LU-11835 mdt: return DOM size on open resend 44/34044/5
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 16 Jan 2019 13:24:58 +0000 (16:24 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:42:33 +0000 (03:42 +0000)
commitbc3ef43d36b51d346f22a4c32214c2945c04dbe5
tree3eb05928798bd46f2000bf804c35b60f9f63a45e
parentdcafe7cb48f5e4582a4711652b38629c46675232
LU-11835 mdt: return DOM size on open resend

DOM size is returned along with DOM lock always, but it is
not true with open resend.

Patch fixes that issue and adds test case.

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I73d43933f781f192e9aa8c6ee388a043dab5bde9
Reviewed-on: https://review.whamcloud.com/34044
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_locks.c
lustre/mdt/mdt_open.c
lustre/tests/recovery-small.sh