summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* github: touch magic .prelink.mod files after cmake to fix latest CentOSHEADmasterSimon Rettberg2024-04-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, without this hack we cannot build the modules anymore wth an unbuilt kernel. -435: WARNING: Symbol version dump "Module.symvers" is missing. Modules may not have dependencies or modversions. You may get many unresolved symbol warnings. /home/sr/dev/openslx/xloop/centos95b/src/kernel/xloop/xloop.prelink.mod: No such file or directory gmake[5]: *** [scripts/Makefile.modpost:134: /home/sr/dev/openslx/xloop/centos95b/src/kernel/xloop/Module.symvers] Error 1 gmake[4]: *** [Makefile:1841: modules] Error 2 make[3]: *** [src/kernel/CMakeFiles/xloop.dir/build.make:88: src/kernel/xloop/xloop.ko] Error 2 make[2]: *** [CMakeFiles/Makefile2:361: src/kernel/CMakeFiles/xloop.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:368: src/kernel/CMakeFiles/xloop.dir/rule] Error 2 make: *** [Makefile:221: xloop] Error 2 whereas with the previous -432: WARNING: Symbol version dump "Module.symvers" is missing. Modules may not have dependencies or modversions. You may get many unresolved symbol warnings. WARNING: modpost: "module_refcount" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "kmalloc_caches" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "blk_mq_requeue_request" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "debugfs_create_dir" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "param_ops_int" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "strlen" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "blk_queue_max_hw_sectors" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "kmalloc_trace" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "blk_mq_start_request" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: "__SCT__cond_resched" [/home/sr/dev/openslx/xloop/centos95/src/kernel/xloop/xloop.ko] undefined! WARNING: modpost: suppressed 95 unresolved symbol warnings because there were too many) [100%] Built target xloop
* [KERNEL] Fix build on CentOS 9.5-but-newerSimon Rettberg2024-04-102-4/+16
| | | | | | | | | | So far, breaking changes were accompanied with a bump of the minor version, but not this time. Bewetween -432 and-435, the signature of disk_force_media_change() changed (haha), but the version number stayed the same. Pick the completely arbitrary macro QUEUE_FLAG_SYNCHRONOUS which only exists in -435 to tell the versions apart.
* [KERNEL] Fix build on Linux 6.8 and CentOS 9.5Simon Rettberg2024-04-033-4/+12
|
* github: Shorten job names so they don't get cut off in WebUISimon Rettberg2024-03-151-9/+9
|
* github: Try building everything on ubuntu-22.04Simon Rettberg2024-03-152-11/+10Star
|
* github: Update to checkout@v4Simon Rettberg2024-03-152-2/+2
|
* cmake: Fix error when checkpatch.pl is found but version cannot be extractedSimon Rettberg2024-03-151-1/+1
|
* github: Build for CentOS 8 and 9Simon Rettberg2024-03-151-4/+30
|
* [KERNEL] Fix build on CentOS/Rocky/Alma 9.4Simon Rettberg2024-03-151-0/+20
|
* [KERNEL] Fix build on Alma/RHEL/Rocky 9.2Simon Rettberg2024-03-152-4/+4
|
* [KERNEL] Fix warning on RHEL/Rocky/CentOS 9.0Simon Rettberg2024-03-151-2/+2
|
* Don't use sysfs_emit in case we apply an offset to bufSimon Rettberg2024-01-161-1/+2
| | | | | It's a function meant for safety, so it refuses to work with pointers that don't start at a page boundary.
* Turn modpost errors into warnings, default changed between 6.1 and 6.6Simon Rettberg2024-01-161-0/+1
|
* Remove space before tabSimon Rettberg2024-01-161-1/+1
|
* ADD MISSING FILES YOU IDIOTSimon Rettberg2024-01-162-0/+2258
|
* github-ci: Build for Linux 6.6Simon Rettberg2024-01-151-0/+4
|
* Make it build on 6.6 (to be tested)Simon Rettberg2024-01-153-108/+8Star
|
* Fix Mr. Bauer's crimes against the kernel coding guidelines :)Simon Rettberg2024-01-113-33/+4Star
|
* Fix build on 5.15.132 and newerSimon Rettberg2024-01-111-1/+2
| | | | | | Some changes in the block layer were backported from 5.17 to 5.15.132, so our version check regarding the GENHD_FL_NO_PART symbol failed.
* Add debug spamSimon Rettberg2023-11-291-0/+1
|
* Add missing CONFIG_DEBUG_FS checksSimon Rettberg2023-11-291-0/+4
|
* [KERNEL] initial support for RHEL Kernel 5.18.xJonathan Bauer2023-02-146-13/+2575
| | | | used in Rocky 9.0
* Update READMESimon Rettberg2023-01-161-2/+2
|
* github: Build for multiple kernel versionsSimon Rettberg2023-01-161-2/+14
|
* [KERNEL] Update for Linux 6.1Simon Rettberg2023-01-092-7/+25
|
* [KERNEL] Fix a copy/paste error acessing wrong variable in sanity checkSimon Rettberg2022-12-071-1/+1
|
* Don't use close_range as it might or might not collide with libcSimon Rettberg2022-12-072-18/+1Star
| | | | | | We don't have anything in place to actually generate a correct config.h, so to avoid breaking either newer or older distros, don't use the offending syscall at all.
* Fix linter issues to satisfy Linux kernel code styleManuel Bentele2022-10-053-1/+7
|
* Adapt to Linux 5.18Simon Rettberg2022-06-143-11/+35
|
* rhel8.5: Remove duplicate blkdev_registerSimon Rettberg2022-03-071-6/+1Star
|
* Add support for RHEL 8.5Simon Rettberg2022-03-046-14/+2231
|
* Split xloop_main into separate files for pre-5.15 and 5.15+Simon Rettberg2022-03-048-2517/+4865
|
* qcow2: Add lock for lookup cache and decompressionSimon Rettberg2022-03-042-3/+12
| | | | | | | | Race conditions can occur if reads are submitted from different cgroups, as each cgroup has its own workqueue. Linearize the according parts of the code using a mutex, as this will in the worst case lead to performance on par with pre-5.15 versions of xloop, which used one workqueue for all cgroups.
* Add more sanity checks to kernel_read calls and compressed buffer accessSimon Rettberg2022-03-042-25/+105
| | | | | | | Also, while we're at it, add error messages for all (most) failure modes of the cluster reading and decompression code, so we don't just end up with IO errors at the block layer without any clue as to where they were introduced.
* Don't add byte offset to kmapped pointerSimon Rettberg2022-03-041-11/+11
| | | | | | | | While the kunmap functions always round down to the current page, and currently, we never map a region larger than a page, it should be safer to do the pointer arithmetic after we acquired the mapped pointer, to avoid the risk of ever passing an invalid pointer to kunmap.
* README.md: State that qcow2 is read onlySimon Rettberg2022-03-041-1/+1
| | | | Trying not to oversell :)
* cmake: Fix finding kernel include dir on DebianSimon Rettberg2022-03-041-0/+1
|
* Fix linter errors and warnings from checkpatch.plManuel Bentele2021-12-073-26/+29
|
* Add support for Linux LTS kernel 5.15.xManuel Bentele2021-12-076-544/+760
|
* Update xlosetup from util-linux v2.37.2Manuel Bentele2021-12-0733-625/+1242
|
* Fix issue in CMake kernel header checkManuel Bentele2021-12-011-3/+4
|
* [BUILD] Change CMake search for the existence of Linux headersManuel Bentele2021-08-261-1/+2
|
* Read version from lightweight (non-annotated) tags, tooManuel Bentele2021-08-261-1/+1
|
* Fix spelling mistakes in Github action workflowManuel Bentele2021-07-261-4/+4
|
* Add support for CentOS 8.4Manuel Bentele2021-07-261-1/+2
|
* Add Github actions to compile kernel module for various kernelsManuel Bentele2021-07-262-2/+78
|
* Fix build issue if version information (Git tag) is missingManuel Bentele2021-03-171-6/+22
| | | | | | | | | | | | The software version for packaging purposes is consituted from the following rules: - If the version information (from Git tags or the embedded version header file) is available, the version number for the packaging is set to those found version information. - If there isn't any version information available (e.g. missing Git tags), the version number for the packaging is set to '0.0' to represent an unkown version number.
* Exclude Github action configs from source packagesManuel Bentele2021-03-161-0/+1
|
* Change the project's homepage URL for packagingManuel Bentele2021-03-161-1/+1
|
* Refactor kernel code to satisfy Linux kernel code styleManuel Bentele2021-03-1513-1441/+1111Star
|