Whamcloud - gitweb
EX-4015 lipe: cache layout in loa
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 17 Feb 2022 19:51:32 +0000 (13:51 -0600)
committerJohn L. Hammond <jhammond@whamcloud.com>
Thu, 10 Mar 2022 17:24:59 +0000 (17:24 +0000)
commitc81288a1e2a9a6b26176f9167ad39482189abecd
tree439dc7b60c3afa60dacec0a219bda69f146a1c46
parent99a7e28b0235f97038b98655dc289c92e830dd5c
EX-4015 lipe: cache layout in loa

In ldiskfs_read_attr_lov(), cache the decoded llapi_layout() in the
current object attrs. Then resue this layout in lov-pools. Add
lov-ost-indexes to return a list of all object OST indexes for the
current file.

Test-Parameters: trivial testlist=sanity-lipe-scan3 facet=mds1
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I3451857fc25f1f9507b6e185bad39fcb3f0e6f22
Reviewed-on: https://review.whamcloud.com/46546
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lipe/src/lipe_scan3/ls3_main.c
lipe/src/lipe_scan3/ls3_object_attrs.c
lipe/src/lipe_scan3/ls3_object_attrs.h
lipe/src/lipe_scan3/ls3_scan.c
lipe/src/lipe_scan3/tests/lipe.scm
lustre/tests/sanity-lipe-scan3.sh