public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: agk@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2 ./WHATS_NEW lib/filters/filter.c
Date: Thu, 27 Jan 2011 00:21:00 -0000	[thread overview]
Message-ID: <20110127002138.17816.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2011-01-27 00:21:38

Modified files:
	.              : WHATS_NEW 
	lib/filters    : filter.c 

Log message:
	Use O_DIRECT when reading block devices.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1891&r2=1.1892
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/filters/filter.c.diff?cvsroot=lvm2&r1=1.59&r2=1.60

--- LVM2/WHATS_NEW	2011/01/24 23:34:47	1.1891
+++ LVM2/WHATS_NEW	2011/01/27 00:21:37	1.1892
@@ -1,5 +1,6 @@
 Version 2.02.83 - 
 ===================================
+  Always use O_DIRECT when opening block devices to check for partitioning.
 
 Version 2.02.82 - 24th January 2011
 ===================================
--- LVM2/lib/filters/filter.c	2011/01/12 15:28:34	1.59
+++ LVM2/lib/filters/filter.c	2011/01/27 00:21:37	1.60
@@ -147,7 +147,7 @@
 	}
 
 	/* Check it's accessible */
-	if (!dev_open_flags(dev, O_RDONLY, 0, 1)) {
+	if (!dev_open_flags(dev, O_RDONLY, 1, 1)) {
 		log_debug("%s: Skipping: open failed", name);
 		return 0;
 	}


             reply	other threads:[~2011-01-27  0:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27  0:21 agk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-20 10:47 zkabelac
2012-02-08 12:48 zkabelac
2011-01-12 15:28 agk
2009-07-09 22:34 snitzer
2009-04-16 10:16 mbroz
2008-04-03 10:29 agk
2008-03-05 18:15 agk
2007-07-26 13:28 agk
2007-07-19  7:06 pcaulfield
2005-11-09 12:47 agk
2005-04-06 16:44 agk
2004-08-18 19:13 agk
2004-06-01 18:33 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=20110127002138.17816.qmail@sourceware.org \
    --to=agk@sourceware.org \
    --cc=lvm-devel@redhat.com \
    --cc=lvm2-cvs@sourceware.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).