commit 47a0d3b41db980934bb6dd67141cdae5dc6dd0c9 Author: Michael Meffie Date: Sat Nov 16 16:48:09 2024 -0500 Make OpenAFS 1.8.13.1 Update version strings for the 1.8.13.1 release. Change-Id: I1ac3c3bb0463d1bb6ab1b8e81ea2cb89ec0a4cf4 Reviewed-on: https://gerrit.openafs.org/15969 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Mark Vitale Reviewed-by: Marcio Brito Barbosa Reviewed-by: Cheyenne Wills Reviewed-by: Benjamin Kaduk commit b116bb57c3193a67dae4f245df6e835ff4437dfe Author: Michael Meffie Date: Sat Nov 16 16:12:40 2024 -0500 Update NEWS for OpenAFS 1.8.13.1 Change-Id: Id2642ebd55fe52d7809a5a4c7ef2d272629da78b Reviewed-on: https://gerrit.openafs.org/15968 Tested-by: BuildBot Reviewed-by: Mark Vitale Reviewed-by: Andrew Deason Reviewed-by: Cheyenne Wills Reviewed-by: Benjamin Kaduk commit c7831070c877331cf16ae440161f11c35d0ea05d Author: Cheyenne Wills Date: Fri Nov 8 21:16:21 2024 -0700 Linux: Use folios for aops->write_begin/end Linux-6.12 commit 'fs: Convert aops->write_begin to take a folio' (1da86618bdce3) changed the address_space_operations's members write_begin and write_end to use a folio instead of a page. Add configure check to test the signature for aop's write_begin and write_end members to see if they take a folio parameter. Update the afs_linux_write_begin and afs_linux_write_end functions to use a folio instead of a page. Reviewed-on: https://gerrit.openafs.org/15898 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Mark Vitale Reviewed-by: Andrew Deason (cherry picked from commit 1ccc87bbdca3a616ecef9eb25b6555f5fd2b579f) Change-Id: Id0fd216e2a27ef3fe157b5d453ae21455148a1e4 Reviewed-on: https://gerrit.openafs.org/15966 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Mark Vitale Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk commit b77eebc613ea771ef6065106837406a34a6a9f58 Author: Cheyenne Wills Date: Thu Nov 7 16:59:41 2024 -0700 Linux: Refactor afs_linux_write_begin() variants The function afs_linux_write_begin() has 2 preprocessor selected implementations, one to handle the case where write_begin has a flag parameter and the other where it doesn't. Refactor the code to combine the 2 implementations using preprocessor conditionals for the function declaration and within the body of the function as needed. There are no functional changes. This refactoring is in preparation for additional changes that will be made to the afs_linux_write_begin() function. Reviewed-on: https://gerrit.openafs.org/15897 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Michael Meffie Reviewed-by: Mark Vitale Reviewed-by: Marcio Brito Barbosa (cherry picked from commit 2f96f95229b997a1b523f84fcb20b0d2082f0849) Change-Id: Id0a8809fcbf3d415154b607223b9480ac45cd6cd Reviewed-on: https://gerrit.openafs.org/15965 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Mark Vitale Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk commit 1a6fa84c97943047cde7e4ad3cee274200595504 Author: Cheyenne Wills Date: Fri Nov 8 21:32:46 2024 -0700 Linux: Define Clear/Set PageError macros as NOPs The Linux 6.12 commit 'mm: remove PG_error' (09022bc196d23) removed the PG_error page flag and the associated ClearPageError() and SetPageError() functions (via removing the PAGEFLAG(Error, ...) macro). The PG_error flag has not been used by core VFS/MM Linux code for some time, possibly ever, and so our calls to these functions do not have any practical effect, since we also do not check for the PG_error flag. While we could simply remove these calls, play it safe and keep them around until ClearPageError()/SetPageError() are removed. The specific semantics of the PG_error flag are not completely well defined in the Linux kernel, which appears to be one of the motivations for its removal. Some Linux commits that mention some details on how the flag is not useful for read errors include: 7edf1ec5b249 ceph: don't SetPageError on readpage errors 41a638a1b3fc affs: convert affs_symlink_read_folio() to use the folio 2b2553f12355 btrfs: stop setting PageError in the data I/O path Add a configure test to see if ClearPageError()/SetPageError() are available in the Linux kernel; if they are not, define ClearPageError()/SetPageError() as no-ops. Reviewed-on: https://gerrit.openafs.org/15876 Tested-by: BuildBot Tested-by: Cheyenne Wills Reviewed-by: Michael Meffie Reviewed-by: Mark Vitale Reviewed-by: Marcio Brito Barbosa Reviewed-by: Andrew Deason (cherry picked from commit ec146905313aaef5998b7bdfe44e86ce541a73cf) Change-Id: I2c65a2a9efe380cd2ba211ae033392fc0597b898 Reviewed-on: https://gerrit.openafs.org/15964 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Mark Vitale Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk commit b151451269ec41b5723484596e7dd40f9ab8824a Author: Andrew Deason Date: Tue Nov 12 20:29:24 2024 -0600 ptserver: Add xdr_namelist to liboafs_prot.la.sym Commit 1f5e1ef9e3 (OPENAFS-SA-2024-003: Run xdr_free for retried RPCs) added a couple of references to xdr_namelist, which currently causes a build failure on AIX: /bin/sh ../../libtool --quiet --mode=link --tag=CC xlc_r [...] -o pts pts.o ../../src/ptserver/liboafs_prot.la [...] ld: 0711-317 ERROR: Undefined symbol: xdr_namelist ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. To avoid this, add xdr_namelist to liboafs_prot.la.sym. Reviewed-on: https://gerrit.openafs.org/15954 Reviewed-by: Mark Vitale Tested-by: BuildBot Reviewed-by: Cheyenne Wills Reviewed-by: Michael Meffie (cherry picked from commit 4f82b5bd49a3c83c990d64d06cb6389969826208) Change-Id: I8a7272d1b94bd02295ef63b70a4247a4cf6e70f6 Reviewed-on: https://gerrit.openafs.org/15955 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Cheyenne Wills Reviewed-by: Mark Vitale Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk