summaryrefslogtreecommitdiffstats
path: root/src/utils/sys-utils
Commit message (Collapse)AuthorAgeFilesLines
* Update xlosetup from util-linux v2.37.2Manuel Bentele2021-12-075-187/+415
|
* Change format specifiers %PRIxMAX to %jx to avoid macrosManuel Bentele2020-12-071-2/+2
|
* Fix xlosetup's output of xloop devices on 32 bit hardware architecturesManuel Bentele2020-12-021-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.
* Setup xloop device with XLOOP_CONFIGURE ioctl callManuel Bentele2020-12-022-3/+14
| | | | | | | | | | | | 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.
* Remove the build requirement for an unused C++ compilerManuel Bentele2020-10-271-1/+2
| | | | | 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 automatic generation of version and build type headers for compilationManuel Bentele2020-10-231-2/+1Star
| | | | | | | 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' directoryManuel Bentele2020-10-233-0/+1165