From: mbroz@sourceware.org <mbroz@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW lib/commands/toolcontext.c li ...
Date: 23 Jul 2007 10:45:50 -0000 [thread overview]
Message-ID: <20070723104550.7325.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2007-07-23 10:45:49
Modified files:
. : WHATS_NEW
lib/commands : toolcontext.c
lib/device : dev-cache.c
Log message:
Fix loading of persistent cache if cache_dir is used. (2.02.23)
Move lstat warning in _compare_paths to verbose output only.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.666&r2=1.667
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/commands/toolcontext.c.diff?cvsroot=lvm2&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/device/dev-cache.c.diff?cvsroot=lvm2&r1=1.48&r2=1.49
--- LVM2/WHATS_NEW 2007/07/20 15:48:39 1.666
+++ LVM2/WHATS_NEW 2007/07/23 10:45:49 1.667
@@ -1,4 +1,6 @@
Version 2.02.28 -
+================================
+ Fix loading of persistent cache if cache_dir is used. (2.02.23)
Eliminate uses of strdup+basename. Use last_path_component instead.
Use gcc's printf attribute wherever possible.
In _line_append, use "sizeof buf - 1" rather than equivalent "4095"
--- LVM2/lib/commands/toolcontext.c 2007/06/28 17:33:44 1.51
+++ LVM2/lib/commands/toolcontext.c 2007/07/23 10:45:49 1.52
@@ -611,7 +611,10 @@
return 0;
}
- if (!(f4 = persistent_filter_create(f3, dev_cache ? : cache_file))) {
+ if (!dev_cache)
+ dev_cache = cache_file;
+
+ if (!(f4 = persistent_filter_create(f3, dev_cache))) {
log_error("Failed to create persistent device filter");
return 0;
}
--- LVM2/lib/device/dev-cache.c 2007/04/27 18:52:05 1.48
+++ LVM2/lib/device/dev-cache.c 2007/07/23 10:45:49 1.49
@@ -205,11 +205,11 @@
*s1 = '\0';
}
if (lstat(p0, &stat0)) {
- log_sys_error("lstat", p0);
+ log_sys_very_verbose("lstat", p0);
return 1;
}
if (lstat(p1, &stat1)) {
- log_sys_error("lstat", p1);
+ log_sys_very_verbose("lstat", p1);
return 0;
}
if (S_ISLNK(stat0.st_mode) && !S_ISLNK(stat1.st_mode))
next reply other threads:[~2007-07-23 10:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-23 10:45 mbroz [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-01 13:42 LVM2 ./WHATS_NEW lib/commands/toolcontext.c li zkabelac
2012-01-11 20:38 agk
2011-01-06 15:29 zkabelac
2010-11-11 17:29 agk
2010-11-12 7:54 ` Zdenek Kabelac
2010-09-09 13:07 prajnoha
2010-08-11 12:14 prajnoha
2010-04-29 1:38 agk
2009-07-08 12:36 agk
2008-12-07 4:27 wysochanski
2007-07-28 12:26 meyering
2006-11-04 3:34 agk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070723104550.7325.qmail@sourceware.org \
--to=mbroz@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.