1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Zdenek Kabelac 783213e4da vdo: check vdo memory constrains
Add function to check for avaialble memory for particular VDO
configuration - to avoid unnecessary machine swapping for configs
that will not fit into memory (possibly in locked section).

Formula tries to estimate RAM size machine can use also with
swapping for kernel target - but still leaving some amount of
usable RAM.

Estimation is based on documented RAM usage of VDO target.

If the /proc/meminfo would be theoretically unavailable, try to use
'sysinfo()' function, however this is giving only free RAM without
the knowledge about how much RAM could be eventually swapped.

TODO: move _get_memory_info() into generic lvm2 API function used
by other targets with non-trivial memory requirements.

(cherry picked from commit ebad057579)
2023-06-20 15:36:19 +02:00
autoconf autoconf: Fix py-compile permissions 2016-02-18 01:05:05 +00:00
base gcc: use more zero length arrays 2021-09-22 17:18:50 +02:00
conf vdo: use defines also for configuration defines 2022-12-08 15:25:22 +01:00
coverity cov: drop model for origin_from_cow 2020-09-12 13:23:49 +02:00
daemons lvmdbusd: Set LVM_COMMAND_PROFILE=lvmdbusd 2022-11-28 17:11:21 +01:00
device_mapper vdo: report supported range in error path 2022-12-08 15:25:33 +01:00
doc all: fix typos 2021-03-30 13:08:14 +02:00
include configure: update 2021-10-18 19:17:27 +02:00
lib vdo: check vdo memory constrains 2023-06-20 15:36:19 +02:00
libdaemon cov: mask some warning about leakage 2021-09-20 14:26:09 +02:00
libdm cov: validate subcommand existance 2021-10-15 23:39:25 +02:00
man vdo: update info about memory 2023-06-20 15:36:00 +02:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
po makefiles: fix pofile generation 2021-03-02 22:54:40 +01:00
scripts vdo: fix conversion of vdo_slab_size_mb 2nd 2023-06-20 15:33:42 +02:00
spec spec: Add lvmautoactivation man page 2021-12-20 14:22:17 -06:00
test lvmdbusd: Change unit test vdo minimum size 2023-06-20 15:33:36 +02:00
tools vdo: check vdo memory constrains 2023-06-20 15:36:19 +02:00
udev Revert "new udev autoactivation" 2021-12-20 14:22:02 -06:00
.gitignore git: update .gitignore 2021-03-19 23:21:18 +01:00
acinclude.m4 [build] uncomment 'serial 3' in an m4 file. 2018-04-30 09:44:27 +01:00
aclocal.m4 configure: update 2020-12-11 12:16:16 +01:00
configure configure: update 2021-10-18 19:17:27 +02:00
configure.ac configure.ac: remove unused part 2021-10-18 19:17:27 +02:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01:00
COPYING.BSD Add BSD 2-Clause License 2018-07-27 17:09:46 +02:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in configure: updates 2021-10-14 23:34:11 +02:00
Makefile.in build: Fix make rpm with VERSION_DM without dash 2022-06-15 11:53:51 +02:00
README Update README 2020-08-12 12:05:36 +02:00
TESTING docs: Add TESTING file 2017-12-14 16:45:47 +01:00
VERSION pre-release 2021-10-20 11:12:39 +02:00
VERSION_DM pre-release 2021-10-20 11:12:39 +02:00
WHATS_NEW vdo: fix conversion of vdo_slab_size_mb 2023-06-20 15:30:59 +02:00
WHATS_NEW_DM pre-release 2021-10-20 11:12:39 +02:00

This tree contains the LVM2 and device-mapper tools and libraries.

This is development branch, for stable 2.02 release see stable-2.02 branch.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sourceware.org/pub/lvm2/
  https://github.com/lvmteam/lvm2/releases

The source code is stored in git:
  https://sourceware.org/git/?p=lvm2.git
  git clone git://sourceware.org/git/lvm2.git
mirrored to:
  https://github.com/lvmteam/lvm2
  git clone https://github.com/lvmteam/lvm2.git
  git clone git@github.com:lvmteam/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel

  lvm2-commits@lists.fedorahosted.org (Read-only archive of commits)
  Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel

Website:
  https://sourceware.org/lvm2/

Report upstream bugs at:
  https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
or open issues at:
  https://github.com/lvmteam/lvm2/issues

The source code repository used until 7th June 2012 is accessible using CVS:

  cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 login cvs
  cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 checkout LVM2

The password is cvs.