Whamcloud - gitweb
LU-18086 obdclass: do not use seeks to store pool order 13/55913/7
authorArtem Blagodarenko <ablagodarenko@ddn.com>
Thu, 18 Jul 2024 20:27:27 +0000 (21:27 +0100)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:01:29 +0000 (22:01 +0000)
commitf89065d6f2205b413a4fe2ac64c7eee0e447f2f6
tree4c6bb6ab591b7958858d60ca0c1e6058e5a89e09
parentf5251cb7af4cfae8f2e9e7f69251253c0bc233b6
LU-18086 obdclass: do not use seeks to store pool order

Seeks field is used to decide how many elements to free
at shrink. Changing it leads to wrong shrink strategy and
finally to the OOM.

Let's use another means to store pool order.

Test-Parameters: trivial testlist=sanity-compr
Test-Parameters: trivial testlist=sanity-compr
Fixes: 93af01f966 ("LU-16724 ptlrc: ptlrpc: extend sec bulk functionality")
Change-Id: I075d6d139aedea29df03bafae1fac592e671656b
Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55913
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/page_pools.c