Whamcloud - gitweb
LU-18190 build: compatibility updates for kernel 6.11 83/56283/10
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sat, 21 Sep 2024 04:01:42 +0000 (11:01 +0700)
committerOleg Drokin <green@whamcloud.com>
Sun, 24 Nov 2024 06:05:36 +0000 (06:05 +0000)
commit68ec6a2b6fca5dcdd02b871b95b1c763b63b6272
tree276fcc884dce51767c36badab7292554a5c973cb
parentda7755db53c59acd7a6b691a06f4a1e8126327d8
LU-18190 build: compatibility updates for kernel 6.11

Linux commit v6.10-12269-g78eb4ea25cd5
  sysctl: treewide: constify the ctl_table argument of proc_handlers

Constify ctl_table and cast away const for older kernels

Linux commit v5.15-rc3-13-g9257e1567738
  mm/filemap: Add folio_index(), folio_file_page() and
  folio_contains()
Linux commit v6.10-rc6-27-g05b0c7edad9b
  mm: drop page_index and simplify folio_index

Removed page_index() in favor of folio_index() provide a wrapper
folio_index_page() to call the correct function with a page.

Linux commit v6.1-rc4-186-gcb67f4282bf9
  mm,thp,rmap: simplify compound page mapcount handling
Adds folio_mapcount()
Linux commit v6.10-rc6-100-gcdd9a571b7d8
  fs/proc: move page_mapcount() to fs/proc/internal.h

Removed page_mapcount() in favor of folio_mapcount() provide
folio_mapcount_page() to call page_mapcount() or calculate
mapcount as done by folio_precise_page_mapcount()

Linux commit v6.10-rc3-19-ge9f5f44ad372
  block: remove the blk_integrity_profile structure
Linux commit v6.10-rc3-25-g9f4aa46f2a74
  block: invert the BLK_INTEGRITY_{GENERATE,VERIFY} flags

Invert the checks for BLK_INTEGRITY_NO{GENERATE,VERIFY} when
BLK_INTEGRITY_NOVERIFY is present and remove checks that
require bi->profile->{verify_fn,generate_fn}

Also resolve a gcc-14 issue with -Werror=stringop-truncation
in lustre/utils/obd.c

HPE-bug-id: LUS-12519
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ifda4da9716108129bb59634612940d61abe69aa2
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56283
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/libcfs.h
libcfs/libcfs/module.c
lnet/lnet/lnet_debugfs.c
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/vvp_io.c
lustre/obdclass/cl_page.c
lustre/osc/osc_page.c
lustre/osd-ldiskfs/osd_internal.h
lustre/utils/obd.c