Whamcloud - gitweb
LU-16351 llite: Linux 6.1 prandom, folios_contig, vma_iterator
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 27 Jan 2023 06:54:42 +0000 (00:54 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 16 Jul 2023 23:08:10 +0000 (23:08 +0000)
commita14a27a1e6ab11525bbfeeb469b9665310e41b43
tree29e91d83373bcd8c44558ec75bd4f5e51d1468e5
parentf2f33be5bef8e552c16585c52d3e79bf9ae12759
LU-16351 llite: Linux 6.1 prandom, folios_contig, vma_iterator

Linux commit v4.10-rc3-6-gc440408cf690
  random: convert get_random_int/long into get_random_u32/u64
Linux commit v6.0-11338-gde492c83cae0
  prandom: remove unused functions

prandom_u32 is a wrapper around get_random_u32, change users
of prandom_u32 to get_random_u32 and provide a fallback
to prandom_u32 when get_random_u32 is not available.

Linux commit v6.0-rc1-2-g25885a35a720
  Change calling conventions for filldir_t
Add a test for the new filldir_t signature
Provide wrappers for transition from int (error code) to bool

Linux commit v6.0-rc3-94-g35b471467f88
  filemap: add filemap_get_folios_contig()
Provide a wrapper and fallback to find_get_pages_contig

Linux commit v6.0-rc3-225-gf39af05949a4
  mm: add VMA iterator
Use vma_iterator and for_each_vma when available.

Lustre-change: https://review.whamcloud.com/49232
Lustre-commit: ca992899d55fd13e65b75ace02931daaa29c18bd

Test-Parameters: trivial
HPE-bug-id: LUS-11377
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I23dc23d0252e1995555b6685f5cf7c207edf642b
Reviewed-by: xinliang <xinliang.liu@linaro.org>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51628
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
contrib/scripts/spelling.txt
lustre/autoconf/lustre-core.m4
lustre/llite/llite_mmap.c
lustre/llite/llite_nfs.c
lustre/llite/vvp_dev.c
lustre/obdclass/llog_test.c
lustre/obdclass/lu_object.c
lustre/obdclass/lu_tgt_descs.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_scrub.c