Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support in CMake to validate (lint) the source code | Manuel Bentele | 2021-03-15 | 9 | -8/+775 | |
| | ||||||
* | Add build support for Github actions | Manuel Bentele | 2021-03-02 | 1 | -0/+43 | |
| | ||||||
* | Add support for AlmaLinux 8 | Manuel Bentele | 2021-02-10 | 2 | -2/+24 | |
| | ||||||
* | Add support of Linux LTS kernel 5.10.x | Manuel Bentele | 2020-12-14 | 1 | -2/+2 | |
| | ||||||
* | Change format specifiers %PRIxMAX to %jx to avoid macros | Manuel Bentele | 2020-12-07 | 1 | -2/+2 | |
| | ||||||
* | Removed unused library 'ncurses' from xlosetup's dependencies | Manuel Bentele | 2020-12-03 | 6 | -976/+8 | |
| | ||||||
* | Fix xlosetup's output of xloop devices on 32 bit hardware architectures | Manuel Bentele | 2020-12-02 | 1 | -2/+2 | |
| | | | | | | This change fixes the printing of all xloop devices on 32 bit hardware architectures. A wrong format specifier for printf() is replaced to support the printing of the architecture-specific ino_t data type range. | |||||
* | Update xlosetup's 'lib' and 'libsmartcol' from util-linux 2.36.1 | Manuel Bentele | 2020-12-02 | 35 | -325/+871 | |
| | ||||||
* | Setup xloop device with XLOOP_CONFIGURE ioctl call | Manuel Bentele | 2020-12-02 | 5 | -57/+118 | |
| | | | | | | | | | | | | This feature allows the userspace tool xlosetup to completely setup a loop device with a single ioctl call, removing the in-between state where the device can be partially configured, eg. the loop device has a backing file associated with it, but is reading from the wrong offset. Besides removing the intermediate state, another big benefit of this ioctl is that XLOOP_SET_STATUS can be slow. The main reason for this slowness is that XLOOP_SET_STATUS(64) calls blk_mq_freeze_queue() to freeze the associated queue. This requires waiting for RCU. | |||||
* | Add Linux kernel module support for 32-bit architectures (eg. ARM) | Manuel Bentele | 2020-11-20 | 3 | -8/+32 | |
| | | | | | | | This change replaces all 64-bit division and modulo operations with specific Linux kernel macros and functions to support 32-bit hardware architectures. Thus, the xloop kernel modules can also run on 32-bit ARM architectures, such as the Raspberry Pi 1 running Raspberry Pi OS. | |||||
* | Add upstream and compatibility changes for Linux kernel 5.10 and 4.19 | Manuel Bentele | 2020-11-16 | 2 | -2/+43 | |
| | ||||||
* | [BUILD] add support to locate build directory out of Git directory | Manuel Bentele | 2020-11-13 | 3 | -7/+11 | |
| | | | | | This patch adds support to locate the build directory for generated artifacts out of the original checked out Git source code repository. | |||||
* | Do not print verbose CMake messages in unsupported CMake versionsv1.0 | Manuel Bentele | 2020-10-27 | 3 | -15/+21 | |
| | ||||||
* | Fix broken version header packaging for source packages | Manuel Bentele | 2020-10-27 | 4 | -19/+44 | |
| | ||||||
* | Remove the build requirement for an unused C++ compiler | Manuel Bentele | 2020-10-27 | 10 | -11/+18 | |
| | | | | | This patch sets the programming languages of each CMake project to C. With this change, CMake does not search for an unused C++ compiler anymore. | |||||
* | Add CMake build requirements check to find libraries and Linux kernel headers | Manuel Bentele | 2020-10-26 | 5 | -24/+157 | |
| | ||||||
* | Fix URL to the Linux kernel documentation in README | Manuel Bentele | 2020-10-26 | 1 | -1/+1 | |
| | ||||||
* | Remove static generation of LTP configuration header | Manuel Bentele | 2020-10-26 | 4 | -14/+15 | |
| | | | | | | | This patch removes the static generation of the LTP configuration header done by CMake. The static generation is replaced with a fixed header (no CMake template anymore) which includes the dynamic generated xloop version header to define version number macros for LTP. | |||||
* | Add automatic generation of version and build type headers for compilation | Manuel Bentele | 2020-10-23 | 21 | -99/+672 | |
| | | | | | | | This change replaces the static version and build type header file generation by CMake with dynamic CMake targets to generate the version file whenever a Make target is executed. Thus, there is no need anymore to reconfigure and rerun CMake after the repository version or build configuration has changed. | |||||
* | Move the source code of all xloop components to the common 'src' directory | Manuel Bentele | 2020-10-23 | 394 | -3/+9 | |
| | ||||||
* | Set Linux kernel version to unknown if it is not detectable | Manuel Bentele | 2020-10-14 | 1 | -1/+4 | |
| | | | | | | This change will command CMake to set the Linux kernel version to unknown if the kernel version can not be detected from the string defined in KERNEL_BUILD_DIR. | |||||
* | Added support to keep track of kernel file changes in CMake | Manuel Bentele | 2020-10-13 | 10 | -32/+48 | |
| | | | | | | | | | With this patch, CMake keeps track of changes to original xloop Linux kernel source files. CMake will copy each file if a change is detected without rebuiling the CMake build and cache files. Futhrmore, changed default paths of udev rules and xloop kernel modules to be installed. | |||||
* | Added separate Linux kernel install directory and added version to kernel ↵ | Manuel Bentele | 2020-10-12 | 8 | -42/+48 | |
| | | | | modules | |||||
* | Added debug support for xlosetup and documented debugging in README | Manuel Bentele | 2020-10-12 | 3 | -8/+44 | |
| | ||||||
* | Print version string in kernel log | Manuel Bentele | 2020-10-12 | 3 | -3/+4 | |
| | ||||||
* | Updated README with required build tools and libraries | Manuel Bentele | 2020-10-07 | 1 | -2/+50 | |
| | ||||||
* | Added udev rules to kernel module build of xloop | Manuel Bentele | 2020-10-07 | 3 | -7/+34 | |
| | | | | | | | The added rules allow udev to properly detect disks and partitions exposed by the xloop kernel module. A proper detection of disks and partitions is needed by some command line tools from the util-linux package. | |||||
* | Updated QCOW file format driver with upstream patches | Manuel Bentele | 2020-10-07 | 5 | -193/+835 | |
| | | | | | | | | | | Ported recent upstream patches from QEMU's qcow2 file format to xloop's QCOW file format driver. The following changes had been made to the QCOW file format driver: - support to read extended L2 has been added - added decompression interface to support various compression types - implemented the ZSTD compression type for QCOW images | |||||
* | Added RPM package creation and moved to relative CMake installation paths | Manuel Bentele | 2020-09-16 | 4 | -10/+28 | |
| | ||||||
* | Ported RAW file format kernel module to Linux 4.18.x | Manuel Bentele | 2020-09-16 | 2 | -1/+21 | |
| | ||||||
* | Changed CMake minimum required version to 3.10 | Manuel Bentele | 2020-09-16 | 4 | -5/+5 | |
| | | | | This change fixes build issues with the CMake version shipped with CentOS 8. | |||||
* | Added partial CMake package component support | Manuel Bentele | 2020-09-16 | 4 | -5/+23 | |
| | ||||||
* | Renamed xloop kernel module test targets | Manuel Bentele | 2020-09-16 | 1 | -14/+14 | |
| | ||||||
* | Fixed deadlock during partition scan on Linux kernel 5.4.x | Manuel Bentele | 2020-09-16 | 1 | -4/+8 | |
| | ||||||
* | Fixed CMake build error on Linux v5.8 or later | Manuel Bentele | 2020-09-16 | 4 | -31/+28 | |
| | ||||||
* | Changed printing in kernel modules to support dynamic debug | Manuel Bentele | 2020-09-16 | 9 | -125/+149 | |
| | ||||||
* | xlosetup: removed warning about unsuitable backing file size | Manuel Bentele | 2020-09-16 | 1 | -24/+0 | |
| | | | | Warning might be flase positiv if a QCOW backing file is loaded. The correct check of the file format size is already implemented in the xloop Linux kernel module and not needed in xlosetup anymore. | |||||
* | Renamed losetup to xlosetup in man page | Manuel Bentele | 2020-09-16 | 1 | -60/+60 | |
| | ||||||
* | Renamed loop to xloop in all LTP kernel tests | Manuel Bentele | 2020-09-16 | 15 | -581/+589 | |
| | ||||||
* | Added testcases from the Linux testing project (LTP) | Manuel Bentele | 2020-09-16 | 246 | -2/+50531 | |
| | ||||||
* | Updated README with documentation of general information and build options | Manuel Bentele | 2020-09-16 | 2 | -13/+70 | |
| | ||||||
* | Ignore source files when packaging sources | Manuel Bentele | 2020-09-16 | 1 | -1/+2 | |
| | ||||||
* | Generate util-linux configuration to build xlosetup | Manuel Bentele | 2020-09-16 | 5 | -32/+71 | |
| | ||||||
* | Fixed major number of xloop device and device names in xlosetup | Manuel Bentele | 2020-09-16 | 7 | -46/+54 | |
| | ||||||
* | Renamed files from loop to xloop and generate package only in Release mode | Manuel Bentele | 2020-09-16 | 22 | -120/+113 | |
| | ||||||
* | Added CMake files to build xloop kernel modules and xlosetup utility | Manuel Bentele | 2020-09-16 | 9 | -104/+161 | |
| | ||||||
* | Added patched losetup utility to configure xloop devices | Manuel Bentele | 2020-09-16 | 151 | -0/+29601 | |
| | ||||||
* | Added file format file format subsystem for loop devices | Manuel Bentele | 2020-09-16 | 15 | -1624/+1861 | |
| | | | | | | | | | | | | | | | | | | | | | | The loop device module is extended by a file format subsystem to allow the implementation of various disk file formats. The file format drivers are implemented as own kernel modules and registered by the subsystem. The subsystem takes control over the specified file format at loop creation and calls the corresponding file format driver functions. At the moment, the file format subsystem can handle ... - read - write - discard - flush - sector size ... operations of loop devices. The file format of each loop device can be specified by the LOOP_CONFIGURE LOOP_SET_STATUS or LOOP_SET_STATUS64 ioctl with the corresponding data structure loop_info or respectively loop_info64. | |||||
* | Cache last decompressed cluster for compressed QCOW | Simon Rettberg | 2020-08-05 | 2 | -31/+37 | |
| | | | | | | | The naive implementation repeatedly decompressed the same cluster for every 4k read, which was incredibly wasteful and resulted in ~20MB/s read speeds if the underlying qcow2 was read via GBit network. This approach yields 200MB/s+ | |||||
* | Change loop%d strings to xloop%d | Simon Rettberg | 2020-08-04 | 1 | -5/+5 | |
| |