Whamcloud - gitweb
LU-16351 llite: Linux 6.1 prandom, folios_contig, vma_iterator 32/49232/19
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 27 Jan 2023 06:54:42 +0000 (00:54 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 May 2023 04:08:30 +0000 (04:08 +0000)
commitca992899d55fd13e65b75ace02931daaa29c18bd
tree7a1f4162047bae6bad6a49564fe04338aaf706ad
parent668f48f87bec3999892ce1daad24b6dba9ae362b
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.

Test-Parameters: trivial
HPE-bug-id: LUS-11377
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I23dc23d0252e1995555b6685f5cf7c207edf642b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49232
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: xinliang <xinliang.liu@linaro.org>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@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