| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This is not destined for upstream. RHEL7.6+ specific patch.
(Requires configure option --with-lvm1=internal)
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
PAGE_SIZE is not a compile time constant. Use sysconf instead like
elsewhere in the code.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This minor patch fixes grammar in a few messages which get
printed to users. It also fixes the same grammar mistake in
several comments.
Signed-off-by: Rick Elrod <relrod@redhat.com>
--
|
| |
| |
| |
| |
| |
| | |
lib was using dev_test_excl which wasn't closing the device.
Switch code to new io layer with excl open.
Also use exclusive open in some other places.
|
|/ |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Create bcache with one block per device that
will be scanned up to 1024 max blocks.
|
| |
| |
| |
| | |
After recent changes this seems to give some help, explore more...
|
| |
| |
| |
| |
| |
| | |
Find also python3 lvm.so name.
And ATM just run a single test, otherwise we get too many cores.
|
| | |
|
| |
| |
| |
| |
| | |
Properly check for kernel version.
Also detect sysfs throttling support.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Since python path is evaluated and we cannot use anymore /usr/bin/env
switch to generated file.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
No point to start building lvm without this header file.
Although there could be 'some point' in supporting standalone build
of 'just' libdm where the libaio might be avoided.
TODO: think about configure option for building libdm only.
|
| | |
|
| |
| |
| |
| | |
Matching patch 2eba7c77557655cfbd19f191ec5d1ad1025897b3
|
| |
| |
| |
| | |
Needs to be changed to match 4K extent_size.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unfortunatelly on kernels <4.16 lvm2 can't user brd ramdisks
for backend device as number of test is failing with this kernel
message:
device-mapper: ioctl: can't change device type after initial table load.
caused by DAX request-based handling, and lvm2 tries to replace device
with backend 'error' bio-based device and such table reload is being
rejected.
So ATM keep ramdisk only on most recent kernel to experiment a bit,
for older machines just stay safe and keep old slower loop backend.
|
| | |
|
| |
| |
| |
| |
| | |
valgrind was concerned about loop through vginfo->infos,
so grab info from dev.
|
| |
| |
| |
| | |
some objects had been moved out of mem pools.
|
| |
| |
| |
| |
| | |
When even throttling is not available, skip or use should
with particular test piece.
|
| |
| |
| |
| |
| |
| | |
As mkostemp is only on newer systems, switch to more old version
which effectively does exactly the same thing for given list of
open flags.
|
| |
| |
| |
| |
| |
| | |
While newer system can detect need for 4K mkfs, on older test machines
running test suite over 4k is reporting problems.
Some more generic solution is needed thought.
|
| |
| |
| |
| |
| | |
Commit 810f856c2490eb1d5db858f26a26621c4a3477e0 missed to move
assign of P after setting maj & min.
|
| | |
|
| |
| |
| |
| | |
Forgotten revert of tracing patch. Restoring previous functinality.
|
| |
| |
| |
| |
| | |
Replace previous compilation detection of present supported segtypes
with runtime check.
|
| |
| |
| |
| | |
List also lcov for processed unit tests.
|
| | |
|
| |
| |
| |
| | |
Allow unit-test to be run as part of standard 'make check'.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When test happens to run in tmpfs, it cannot use O_DIRECT (unsupported
with tmpfs).
CHECKME: unsure if detection of tmpfs is 'valid' but kind of works and
is very simple.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As Makefiles already do use target with name 'device-mapper'
rename this new device-mapper dir to non-conflicting name.
We also seem to already use '_' in other dir names.
Also rename device_mapper/Makefile to source for generating Makefile.in
so we can use it for build in other source dirs properly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's very hard to use some 'non-recurive' Makefiles with
rest of system running 'recursively'.
So ATM drop inclusion of subdir makefile and add support
for 2 new top-level targets:
unit-test (builds test/unit dir)
run-unit-test (build & run test/unit/unit-test run)
|
| |
| |
| |
| |
| | |
Logging for libdm differs from lvm logging - keep using consisten
logging function calls.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Just like 52656c89fd6e7655b0599e20f90cc9d70561f1fb
when now cache is compiled in 'unditionally'.
This patch is actually enforce by changes in
commit: 2bc896f2a3a0023a4f45f10da3d0a22295a633ee
where CACHE value is not set anymore.
|
| | |
|
| |
| |
| |
| | |
Ensure the source file is tracked by various cleanup functions.
|
| |
| |
| |
| |
| |
| |
| | |
If the test does not need root, it can use 'SKIP_ROOT_DM_CHECK'.
For such test no actions needed root to initilize DM devices and
nodes will be take and test can check i.e. functional unit tests.
|
| |
| |
| |
| | |
Avoid logging warning when compared string is empty with -eq.
|
| | |
|