Whamcloud - gitweb
LU-12355 llite: totalram_pages changed to atomic_long_t 76/40376/3
authorShaun Tancheff <stancheff@cray.com>
Sat, 15 Jun 2019 19:32:26 +0000 (14:32 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jun 2021 22:26:11 +0000 (22:26 +0000)
commit004a8fae2ddb04f6c8a3ccf40a0fb9b233cfe811
treed05055f9d416c2b82c0b934f12f6f2101f3233ee
parentf7a59078e3c37d25b22f90e158f737e26a320b5a
LU-12355 llite: totalram_pages changed to atomic_long_t

Kernel 5.0 changed totalram_pages to atomic_long_t
Provide an abstracted accessor now that totalram_pages
is now a function

Conflicts:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/libcfs.h
lustre/llite/lproc_llite.c

Lustre-commit: 5ca5b19e8efdfede8ec3405eaced7202984f396b
Lustre-change: https://review.whamcloud.com/35025

Linux-commit: ca79b0c211af63fa3276f0e3fd7dd9ada2439839

Test-Parameters: trivial
Change-Id: I558e42074004e2ee5f79deea0d363e5bea332729
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-on: https://review.whamcloud.com/40376
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_prim.h
libcfs/libcfs/linux/linux-tracefile.c
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/llite/lproc_llite.c
lustre/mdc/lproc_mdc.c
lustre/obdclass/class_obd.c
lustre/obdclass/lu_object.c
lustre/obdclass/obd_sysfs.c
lustre/osc/lproc_osc.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/sec_bulk.c