Whamcloud - gitweb
LU-14268 lod: fix layout generation inc for mirror split 68/41068/4
authorBobi Jam <bobijam@whamcloud.com>
Tue, 22 Dec 2020 05:58:41 +0000 (13:58 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 08:22:46 +0000 (08:22 +0000)
commitffa858b1657145c7e3d9988291fbb1ef72b3b980
tree55fd9b857678ba89bf169b7c69a84992d0ecbcba
parent910eb97c1b43a44a9da2ae14c3b83e28ca6342fc
LU-14268 lod: fix layout generation inc for mirror split

Mirror split does not increase the layout generation properly.

Mirror split does not change FLR state of the file, even when it
contains 1 mirror afterwards, and FLR state should be LCM_FL_NONE
instead.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I9c9621d67d901f2e9ca6ed3e0684cd308c396076
Reviewed-on: https://review.whamcloud.com/41068
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lov/lov_ea.c
lustre/lov/lov_object.c
lustre/tests/sanity-flr.sh