Whamcloud - gitweb
EX-4463 flr: ensure layout generation is incremented on merge
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 6 Jan 2022 15:09:30 +0000 (09:09 -0600)
committerJohn L. Hammond <jhammond@whamcloud.com>
Thu, 20 Jan 2022 14:21:32 +0000 (14:21 +0000)
commit2414a8616deb08c6a1f423110eb2d54b9a5a68f7
tree3843ff74f66cb8acde92fba8672fded4aec3c279
parenta97a021958521b60648bd2266d64f57ee25c2162
EX-4463 flr: ensure layout generation is incremented on merge

In lod_declare_layout_merge(), load the striping before we increment
the layout generation. Add sanity-flr:test_51a to check this.

Fixes: 6b5a29c0ac94 (Revert "LU-14642 flr: transfer layout version on layout change")
Test-Parameters: testlist=sanity-flr envdefinitions=FAIL_ON_ERROR=false,ONLY=51a,ONLY_REPEAT=20
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I357501edfd2bc0d710be902df9c40aab53c11824
Reviewed-on: https://review.whamcloud.com/46028
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/lod/lod_object.c
lustre/tests/sanity-flr.sh