1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/test
Milan Broz d396100278 Use readahead of underlying device and not default (smaller) one.
When we are stacking LV over device, which has for some reason
increased read_ahead (e.g. MD RAID), the read_ahead hint
for libdevmapper is wrong (it is zero).

If the calculated read_ahead hint is zero, patch uses read_ahead of underlying device
(if first segment is PV) when setting DM_READ_AHEAD_MINIMUM_FLAG.

Because we are using dev-cache, it also store this value to cache for future use
(if several LVs are over one PV, BLKRAGET is called only once for underlying device.)

This should fix all the reamining problems with readahead mismatch reported
for DM over MD configurations (and similar cases).
2009-05-20 11:09:49 +00:00
..
api Use liblvm.so instead of .a 2009-04-28 19:08:25 +00:00
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
harness.c Fix test output collection in harness.c. 2009-02-17 19:36:16 +00:00
harness.sh Also report the tests that have been skipped, at the end of harness.sh. 2008-11-04 14:37:51 +00:00
lvm-utils.sh Add tests to check pv_mda_size and vg_mda_size. 2009-05-08 06:10:45 +00:00
Makefile.in Fix some distclean rules. 2009-03-16 18:28:04 +00:00
mkdtemp Clean-up and wording changes; add copyright notices. 2007-09-18 14:02:22 +00:00
not.c In testsuite's not.c, print a notice when program dies of a fatal signal. 2009-02-17 19:37:28 +00:00
t-000-basic.sh Move tools/version.h to lib/misc/lvm-version.h. 2009-02-22 22:11:58 +00:00
t-covercmd.sh Fix segfault for vgcfgrestore on VG with missing PVs. 2009-03-24 13:16:34 +00:00
t-fsadm.sh Add skeleton of fsadm nightly test but skip (doesn't work yet). 2009-01-15 17:14:38 +00:00
t-inconsistent-metadata.sh Document current state of inconsistent metadata behaviour of a few commands in 2009-01-09 10:16:57 +00:00
t-listings.sh Fix pvseg report for orphan PVs and other devices. 2009-04-21 12:59:18 +00:00
t-lvconvert-repair.sh Implement, test and document (first iteration of) lvconvert --repair. 2009-04-23 16:56:21 +00:00
t-lvcreate-operation.sh Import a bunch of new tests by jstava. Mostly everything pass, they however 2008-11-11 15:29:24 +00:00
t-lvcreate-pvtags.sh Minor code and documentation cleanups and changes by jstava. 2008-11-10 12:43:35 +00:00
t-lvcreate-usage.sh Check max_lv on only place and force the check only for new volume. 2009-05-13 21:29:10 +00:00
t-lvextend-percent-extents.sh Add test for seg_start, seg_count, seg_start_pe 2009-05-11 03:37:34 +00:00
t-lvmcache-exercise.sh Update a bunch of tests to use functionality from test-utils.sh. 2008-09-29 16:02:50 +00:00
t-lvresize-usage.sh Update a bunch of tests to use functionality from test-utils.sh. 2008-09-29 16:02:50 +00:00
t-mdata-strings.sh Fix whitespace in t-mdata-strings.sh 2009-04-03 14:23:17 +00:00
t-metadata.sh Add a bunch of sub-tests aimed at testing various bugzillas, by jstava. 2008-11-11 15:46:15 +00:00
t-mirror-basic.sh bz429342 lvcreate --nosync 2008-11-10 12:37:53 +00:00
t-mirror-lvconvert-usage.sh Import a bunch of new tests by jstava. Mostly everything pass, they however 2008-11-11 15:29:24 +00:00
t-mirror-lvconvert.sh Add test - lvconvert from linear (on multiple PVs) to mirror. 2009-05-19 15:47:50 +00:00
t-mirror-names.sh add bz264241 check 2008-11-10 12:41:52 +00:00
t-mirror-vgreduce-removemissing.sh Explicitly check after lvremove -ff vg that it did its job. By jstava. 2008-11-10 12:32:00 +00:00
t-partial-activate.sh Fix vgreduce --removemissing failure exit code. 2009-04-22 17:00:28 +00:00
t-pool-labels.sh Fix t-pool-labels to pass again after the vgdisplay error return fix from 2008-11-10 13:44:01 +00:00
t-pv-range-overflow.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-pvchange-usage.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-pvcreate-metadata0.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-pvcreate-operation.sh Detect and wipe swap signatures in pvcreate. 2009-03-17 13:59:56 +00:00
t-pvcreate-usage.sh Add tests to check pv_mda_size and vg_mda_size. 2009-05-08 06:10:45 +00:00
t-pvmove-basic.sh If pvmove fails activating mirror volume, try restore to previous state. 2009-05-19 09:51:02 +00:00
t-pvremove-usage.sh add bz264241 check 2008-11-10 12:41:52 +00:00
t-read-ahead.sh Use readahead of underlying device and not default (smaller) one. 2009-05-20 11:09:49 +00:00
t-unlost-pv.sh Minor code and documentation cleanups and changes by jstava. 2008-11-10 12:43:35 +00:00
t-vgcfgbackup-usage.sh Use PV UUID in hash for device name when exporting metadata. 2009-05-19 09:48:32 +00:00
t-vgchange-usage.sh Import a bunch of new tests by jstava. Mostly everything pass, they however 2008-11-11 15:29:24 +00:00
t-vgcreate-usage.sh Add tests to check vgcreate --physicalextentsize and field vg_extent_size. 2009-05-08 05:15:52 +00:00
t-vgmerge-operation.sh add bz264241 check 2008-11-10 12:41:52 +00:00
t-vgmerge-usage.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-vgreduce-usage.sh Minor code and documentation cleanups and changes by jstava. 2008-11-10 12:43:35 +00:00
t-vgrename-usage.sh Update a bunch of tests to use functionality from test-utils.sh. 2008-09-29 16:02:50 +00:00
t-vgsplit-operation.sh Fix [ a = b ] usage in t-vgsplit-operation: string comparison is '=', not '=='. 2008-09-30 18:29:10 +00:00
t-vgsplit-usage.sh Minor code and documentation cleanups and changes by jstava. 2008-11-10 12:43:35 +00:00
test-lib.sh Export testlib_cleanup_ from test-lib.sh, which is needed for test-utils.sh to 2008-09-29 16:00:53 +00:00
test-utils.sh Check max_lv on only place and force the check only for new volume. 2009-05-13 21:29:10 +00:00