Whamcloud - gitweb
LU-17464 lod: use OBD_ALLOC_LARGE for ldo_comp_entries 49/55449/3
authorBobi Jam <bobijam@whamcloud.com>
Mon, 17 Jun 2024 10:10:05 +0000 (18:10 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Jul 2024 20:08:40 +0000 (20:08 +0000)
commit035a71b370df79ea2c16c8fe2163b2e5fe928832
tree820229e5c2ff5adf82e83b271628a350408be68f
parentea025577dde1b8905fd0b49e5ad685e0656146ec
LU-17464 lod: use OBD_ALLOC_LARGE for ldo_comp_entries

The lod_object::ldo_comp_entries is allocated/free with _LARGE macros
so that it could be large enought to use vmalloc instead of kmalloc
for memory allocation. There are some places use OBD_ALLOC without
_LARGE to re-allocate memory which mismatch the assumption.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Ie356ae875329af07c893586fa4b1485dbd17afe6
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55449
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_object.c