From: agk@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: device-mapper/lib/ioctl libdm-iface.c libdm-ta ...
Date: 12 Oct 2006 17:29:05 -0000 [thread overview]
Message-ID: <20061012172905.4982.qmail@sourceware.org> (raw)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2006-10-12 17:29:05
Modified files:
lib/ioctl : libdm-iface.c libdm-targets.h
Log message:
noflush code fixes: missing debug log; non-standard variable name
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/ioctl/libdm-iface.c.diff?cvsroot=dm&r1=1.38&r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/ioctl/libdm-targets.h.diff?cvsroot=dm&r1=1.19&r2=1.20
--- device-mapper/lib/ioctl/libdm-iface.c 2006/10/12 15:42:24 1.38
+++ device-mapper/lib/ioctl/libdm-iface.c 2006/10/12 17:29:05 1.39
@@ -1028,7 +1028,7 @@
int dm_task_no_flush(struct dm_task *dmt)
{
- dmt->noflush = 1;
+ dmt->no_flush = 1;
return 1;
}
@@ -1277,7 +1277,7 @@
if (dmt->type == DM_DEVICE_SUSPEND)
dmi->flags |= DM_SUSPEND_FLAG;
- if (dmt->noflush)
+ if (dmt->no_flush)
dmi->flags |= DM_NOFLUSH_FLAG;
if (dmt->read_only)
dmi->flags |= DM_READONLY_FLAG;
@@ -1552,7 +1552,7 @@
dmi->flags |= DM_SKIP_BDGET_FLAG;
log_debug("dm %s %s %s%s%s %s%.0d%s%.0d%s"
- "%s%c%s %.0llu %s [%u]",
+ "%s%c%c%s %.0llu %s [%u]",
_cmd_data_v4[dmt->type].name,
dmi->name, dmi->uuid, dmt->newname ? " " : "",
dmt->newname ? dmt->newname : "",
@@ -1563,6 +1563,7 @@
dmt->major > 0 && dmt->minor == 0 ? "0" : "",
dmt->major > 0 ? ") " : "",
dmt->no_open_count ? 'N' : 'O',
+ dmt->no_flush ? 'N' : 'F',
dmt->skip_lockfs ? "S " : "",
dmt->sector, dmt->message ? dmt->message : "",
dmi->data_size);
--- device-mapper/lib/ioctl/libdm-targets.h 2006/10/12 15:42:24 1.19
+++ device-mapper/lib/ioctl/libdm-targets.h 2006/10/12 17:29:05 1.20
@@ -52,7 +52,7 @@
char *message;
char *geometry;
uint64_t sector;
- int noflush;
+ int no_flush;
int no_open_count;
int skip_lockfs;
int suppress_identical_reload;
reply other threads:[~2006-10-12 17:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20061012172905.4982.qmail@sourceware.org \
--to=agk@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-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.