mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
0cadfdd69d
Currently usage of loop device over backend file in ramdisk (tmpfs) is actually causing unnecassary memory consution, since just reading such loop device is causing RAM provisioning. This patch add another possible way how to use ramdisk directly through 'brd' device when possible (and allowed). This however has it's limitation as well - brd does not support TRIM, so the only way how to erase is to remove brd module ?? Alse there is 4K sector size limitation imposed by ramdisk. Anyway - for some mirror test that were using large amount of disk space (tens of MB) this brings noticable speed boost. (But could be worth to solve the slowness of loop in kernel?) To prevent using 'brd' for testing set LVM_TEST_PREFER_BRD=0 like this: make check_local LVM_TEST_PREFER_BRD=0 |
||
---|---|---|
.. | ||
aux.sh | ||
brick-shelltest.h | ||
check.sh | ||
flavour-ndev-cluster-lvmpolld.sh | ||
flavour-ndev-cluster.sh | ||
flavour-ndev-lvmetad-lvmpolld.sh | ||
flavour-ndev-lvmetad.sh | ||
flavour-ndev-lvmpolld.sh | ||
flavour-ndev-vanilla.sh | ||
flavour-udev-cluster-lvmpolld.sh | ||
flavour-udev-cluster.sh | ||
flavour-udev-lvmetad-lvmpolld.sh | ||
flavour-udev-lvmetad.sh | ||
flavour-udev-lvmlockd-dlm.sh | ||
flavour-udev-lvmlockd-sanlock.sh | ||
flavour-udev-lvmlockd-test.sh | ||
flavour-udev-lvmpolld.sh | ||
flavour-udev-vanilla.sh | ||
get.sh | ||
harness.c | ||
inittest.sh | ||
lvm-wrapper.sh | ||
mke2fs.conf | ||
not.c | ||
runner.cpp | ||
test-corosync-conf | ||
test-dlm-conf | ||
test-sanlock-conf | ||
utils.sh |