Whamcloud - gitweb
LU-14268 lod: fix layout generation inc for mirror split
authorBobi Jam <bobijam@whamcloud.com>
Tue, 22 Dec 2020 05:58:41 +0000 (13:58 +0800)
committerLi Xi <lixi@ddn.com>
Wed, 10 Mar 2021 14:37:15 +0000 (14:37 +0000)
commit6e28cd20c0113ad506594f43ef8685a31cce8f92
treec0ac825c6d1e91b61d0b981849e8fc2ea3d0b2c9
parent58719086bd23ee0ad33ab7c52723be70c4eb9d59
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.

Lustre-commit: ffa858b1657145c7e3d9988291fbb1ef72b3b980
Lustre-change: https://review.whamcloud.com/41068

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I9c9621d67d901f2e9ca6ed3e0684cd308c396076
Reviewed-on: https://review.whamcloud.com/41068
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/41962
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.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