Whamcloud - gitweb
EX-6127 llite: getting stripe info optimization
authorArtem Blagodarenko <ablagodarenko@ddn.com>
Wed, 14 Jun 2023 21:10:28 +0000 (22:10 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 23 Jun 2023 23:37:21 +0000 (23:37 +0000)
commitc05d5990f459c442ddfb49d03a3027654d63995e
tree66f7152905f98b7e3ae713c88eedc530505ba38a
parent9b20f97fcf3326395a8ff8b04d5d107c3cbd32e9
EX-6127 llite: getting stripe info optimization

ll_lov_getstripe_ea_info() is expensive call and should be avoided
if possible. Let's use cached chunk size rather than get it from
stripe info every time.

Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Change-Id: Id08487ec782f797e242e3f673c4a4dd8d526c9cc
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51321
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/rw.c
lustre/tests/sanity.sh