Whamcloud - gitweb
LU-18086 sec: do not allocate empty pools 71/56271/3
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 30 Aug 2024 13:53:50 +0000 (15:53 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 2 Dec 2024 05:49:16 +0000 (05:49 +0000)
commit1a6ae4b3ebf0b1bf2625bc88b84658d2dc082321
treeb6f32e9a8e779eacd5d5eca5a9f7972e7342ab44
parent5ad117fc6f28389cb800953094b5acb0532f702b
LU-18086 sec: do not allocate empty pools

If the node does not have enough memory, we might end up allocating
empty pools at some orders. Prevent empty pools as they are useless
and the rest of the code expect valid pools.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I9c5d9eeb557df0c91efecd6871654d1e48e5662a
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56271
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/page_pools.c