mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
lvm2: update to version 2.02.138
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
+2
-2
@@ -9,13 +9,13 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=LVM2
|
PKG_NAME:=LVM2
|
||||||
PKG_VERSION:=2.02.136
|
PKG_VERSION:=2.02.138
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=GPL-2.0 LGPL-2.1
|
PKG_LICENSE:=GPL-2.0 LGPL-2.1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
|
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
|
||||||
PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2/releases
|
PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2/releases
|
||||||
PKG_MD5SUM:=f1ac794d1cf44e863a7fa614f4c28410
|
PKG_MD5SUM:=c660e02ad4586a1d297b6befbe85556d
|
||||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/lib/commands/toolcontext.c
|
--- a/lib/commands/toolcontext.c
|
||||||
+++ b/lib/commands/toolcontext.c
|
+++ b/lib/commands/toolcontext.c
|
||||||
@@ -1740,8 +1740,10 @@ struct cmd_context *create_toolcontext(u
|
@@ -1741,8 +1741,10 @@ struct cmd_context *create_toolcontext(u
|
||||||
unsigned set_filters)
|
unsigned set_filters)
|
||||||
{
|
{
|
||||||
struct cmd_context *cmd;
|
struct cmd_context *cmd;
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#ifdef M_MMAP_MAX
|
#ifdef M_MMAP_MAX
|
||||||
mallopt(M_MMAP_MAX, 0);
|
mallopt(M_MMAP_MAX, 0);
|
||||||
@@ -1777,7 +1779,7 @@ struct cmd_context *create_toolcontext(u
|
@@ -1778,7 +1780,7 @@ struct cmd_context *create_toolcontext(u
|
||||||
/* FIXME Make this configurable? */
|
/* FIXME Make this configurable? */
|
||||||
reset_lvm_errno(1);
|
reset_lvm_errno(1);
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
/* Set in/out stream buffering before glibc */
|
/* Set in/out stream buffering before glibc */
|
||||||
if (set_buffering) {
|
if (set_buffering) {
|
||||||
/* Allocate 2 buffers */
|
/* Allocate 2 buffers */
|
||||||
@@ -2160,7 +2162,7 @@ void destroy_toolcontext(struct cmd_cont
|
@@ -2161,7 +2163,7 @@ void destroy_toolcontext(struct cmd_cont
|
||||||
if (cmd->libmem)
|
if (cmd->libmem)
|
||||||
dm_pool_destroy(cmd->libmem);
|
dm_pool_destroy(cmd->libmem);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/lib/mm/memlock.c
|
--- a/lib/mm/memlock.c
|
||||||
+++ b/lib/mm/memlock.c
|
+++ b/lib/mm/memlock.c
|
||||||
@@ -161,12 +161,15 @@ static void _allocate_memory(void)
|
@@ -169,12 +169,15 @@ static void _allocate_memory(void)
|
||||||
* memory on free(), this is good enough for our purposes.
|
* memory on free(), this is good enough for our purposes.
|
||||||
*/
|
*/
|
||||||
while (missing > 0) {
|
while (missing > 0) {
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
inf = mallinfo();
|
inf = mallinfo();
|
||||||
|
|
||||||
if (hblks < inf.hblks) {
|
if (hblks < inf.hblks) {
|
||||||
@@ -176,9 +179,12 @@ static void _allocate_memory(void)
|
@@ -184,9 +187,12 @@ static void _allocate_memory(void)
|
||||||
free(areas[area]);
|
free(areas[area]);
|
||||||
_size_malloc_tmp /= 2;
|
_size_malloc_tmp /= 2;
|
||||||
} else {
|
} else {
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
if (area == max_areas && missing > 0) {
|
if (area == max_areas && missing > 0) {
|
||||||
/* Too bad. Warn the user and proceed, as things are
|
/* Too bad. Warn the user and proceed, as things are
|
||||||
@@ -467,8 +473,13 @@ static void _lock_mem(struct cmd_context
|
@@ -475,8 +481,13 @@ static void _lock_mem(struct cmd_context
|
||||||
* will not block memory locked thread
|
* will not block memory locked thread
|
||||||
* Note: assuming _memlock_count_daemon is updated before _memlock_count
|
* Note: assuming _memlock_count_daemon is updated before _memlock_count
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user