summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build: make generate2018-05-17-put-format1-and-pool-backMarian Csontos2018-06-267-25/+46
|
* format1, pool: Add support for these old formats back in.Joe Thornber2018-05-1765-53/+5253
| | | | | | This is not destined for upstream. RHEL7.6+ specific patch. (Requires configure option --with-lvm1=internal)
* tests: fix kernal_at_least argument in aux.shHeinz Mauelshagen2018-05-171-1/+1
|
* bcache: Don't call sysconf for every ioJoe Thornber2018-05-171-5/+6
|
* Merge branch 'master' of git://sourceware.org/git/lvm2Joe Thornber2018-05-1710-25/+24
|\
| * bcache: don't use PAGE_SIZE compile constAlex Bennée2018-05-171-3/+6
| | | | | | | | | | | | | | 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>
| * cleanup: fix grammar in output - less then -> less thanRick Elrod2018-05-175-7/+7
| | | | | | | | | | | | | | | | | | 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> --
| * scan: fix missing close in libDavid Teigland2018-05-165-15/+11
| | | | | | | | | | | | 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.
* | scripts/code-stats.rb: count files better, handle bad utf8Joe Thornber2018-05-171-9/+19
|/
* scripts: add a little scripts to show git history for the last 2 weeks.Joe Thornber2018-05-161-0/+80
|
* unit-tests: remove a couple of debug printfsJoe Thornber2018-05-161-2/+0
|
* Merge branch 'master' of git://sourceware.org/git/lvm2Joe Thornber2018-05-1663-373/+654
|\
| * doc: add some performance infoDavid Teigland2018-05-151-0/+107
| |
| * scan: use up to 1024 max bcache blocksDavid Teigland2018-05-151-17/+28
| | | | | | | | | | Create bcache with one block per device that will be scanned up to 1024 max blocks.
| * lvmapp: do not unlock not locked VGsZdenek Kabelac2018-05-151-0/+2
| | | | | | | | After recent changes this seems to give some help, explore more...
| * tests: better check for python libpathZdenek Kabelac2018-05-151-1/+3
| | | | | | | | | | | | Find also python3 lvm.so name. And ATM just run a single test, otherwise we get too many cores.
| * python: specify libdm path for linkingZdenek Kabelac2018-05-151-1/+1
| |
| * tests: aux fixesZdenek Kabelac2018-05-151-1/+2
| | | | | | | | | | Properly check for kernel version. Also detect sysfs throttling support.
| * tests: time limit waiting on lvmetad killZdenek Kabelac2018-05-151-1/+5
| |
| * tests: drop junkZdenek Kabelac2018-05-151-5/+0
| |
| * tests: move into generated fileZdenek Kabelac2018-05-153-2/+4
| | | | | | | | | | Since python path is evaluated and we cannot use anymore /usr/bin/env switch to generated file.
| * build: configure detect libaioZdenek Kabelac2018-05-153-2/+5
| | | | | | | | | | | | | | | | | | 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.
| * WHATS_NEW: updatesDavid Teigland2018-05-151-0/+4
| |
| * conf: update confZdenek Kabelac2018-05-151-1/+1
| | | | | | | | Matching patch 2eba7c77557655cfbd19f191ec5d1ad1025897b3
| * tests: fix size of COWZdenek Kabelac2018-05-151-1/+1
| | | | | | | | Needs to be changed to match 4K extent_size.
| * tests: dont try to use DAX based brd deviceZdenek Kabelac2018-05-151-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * clean-up: example.conf.in typoJonathan Brassow2018-05-141-1/+1
| |
| * lvmcache: fix loop freeing infosDavid Teigland2018-05-141-4/+4
| | | | | | | | | | valgrind was concerned about loop through vginfo->infos, so grab info from dev.
| * scan: add some missing freesDavid Teigland2018-05-142-2/+17
| | | | | | | | some objects had been moved out of mem pools.
| * tests: old systems do not have even throttlingZdenek Kabelac2018-05-123-10/+14
| | | | | | | | | | When even throttling is not available, skip or use should with particular test piece.
| * tests: swith to mkstempZdenek Kabelac2018-05-122-4/+5
| | | | | | | | | | | | 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.
| * tests: start to use 4k mkfsZdenek Kabelac2018-05-122-1/+2
| | | | | | | | | | | | 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.
| * tests: fix check sysfsZdenek Kabelac2018-05-121-1/+2
| | | | | | | | | | Commit 810f856c2490eb1d5db858f26a26621c4a3477e0 missed to move assign of P after setting maj & min.
| * tests: do not try to create 1K extentsZdenek Kabelac2018-05-121-3/+3
| |
| * tests: restore functionalityZdenek Kabelac2018-05-121-2/+1
| | | | | | | | Forgotten revert of tracing patch. Restoring previous functinality.
| * tests: aux detecs supported segmentsZdenek Kabelac2018-05-121-0/+8
| | | | | | | | | | Replace previous compilation detection of present supported segtypes with runtime check.
| * build: lcov reporting for unit testsZdenek Kabelac2018-05-121-0/+1
| | | | | | | | List also lcov for processed unit tests.
| * build: install unit-testZdenek Kabelac2018-05-121-1/+3
| |
| * tests: add unit-testZdenek Kabelac2018-05-121-0/+23
| | | | | | | | Allow unit-test to be run as part of standard 'make check'.
| * tests: detect running bcache test on tmpfsZdenek Kabelac2018-05-121-8/+21
| | | | | | | | | | | | | | | | 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.
| * build: rename device-mapper to device_mapperZdenek Kabelac2018-05-128-13/+18
| | | | | | | | | | | | | | | | | | 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.
| * build: fix build rules for srcdirZdenek Kabelac2018-05-123-38/+52
| | | | | | | | | | | | | | | | | | | | | | 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)
| * bcache: do not use libdm header filesZdenek Kabelac2018-05-121-1/+1
| | | | | | | | | | Logging for libdm differs from lvm logging - keep using consisten logging function calls.
| * build: make generateZdenek Kabelac2018-05-128-56/+30
| |
| * tests: drop cache checkingZdenek Kabelac2018-05-121-4/+0
| | | | | | | | | | | | | | | | | | 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.
| * tests: add support to run unit testZdenek Kabelac2018-05-121-0/+5
| |
| * build: properly track source file for lmvlockctlZdenek Kabelac2018-05-121-0/+2
| | | | | | | | Ensure the source file is tracked by various cleanup functions.
| * tests: inittest may run without rootZdenek Kabelac2018-05-121-5/+13
| | | | | | | | | | | | | | 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.
| * tests: inittest compare stringZdenek Kabelac2018-05-121-1/+1
| | | | | | | | Avoid logging warning when compared string is empty with -eq.
| * tests: aux extra protection for rm -rfZdenek Kabelac2018-05-121-1/+1
| |