public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 lib/thin/thin.c libdm/libdevmapper.h libd ... Date: Mon, 03 Oct 2011 18:26:00 -0000 [thread overview] Message-ID: <20111003182608.608.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2011-10-03 18:26:08 Modified files: lib/thin : thin.c libdm : libdevmapper.h libdm-deptree.c Log message: Transaction_id is property of thin_pool Remove Transaction_id from thin target. Store device_id for thin target. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/thin/thin.c.diff?cvsroot=lvm2&r1=1.13&r2=1.14 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdevmapper.h.diff?cvsroot=lvm2&r1=1.154&r2=1.155 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-deptree.c.diff?cvsroot=lvm2&r1=1.115&r2=1.116 --- LVM2/lib/thin/thin.c 2011/09/29 08:56:39 1.13 +++ LVM2/lib/thin/thin.c 2011/10/03 18:26:07 1.14 @@ -199,7 +199,7 @@ return 0; } - if (!dm_tree_node_add_thin_target(node, len, 0, thin_pool_dlid, seg->device_id)) + if (!dm_tree_node_add_thin_target(node, len, thin_pool_dlid, seg->device_id)) return_0; return 1; --- LVM2/libdm/libdevmapper.h 2011/09/29 08:53:48 1.154 +++ LVM2/libdm/libdevmapper.h 2011/10/03 18:26:07 1.155 @@ -547,7 +547,6 @@ int dm_tree_node_add_thin_target(struct dm_tree_node *node, uint64_t size, - uint64_t transation_id, const char *thin_pool_uuid, uint32_t device_id); --- LVM2/libdm/libdm-deptree.c 2011/09/29 08:53:48 1.115 +++ LVM2/libdm/libdm-deptree.c 2011/10/03 18:26:07 1.116 @@ -2690,7 +2690,6 @@ int dm_tree_node_add_thin_target(struct dm_tree_node *node, uint64_t size, - uint64_t transation_id, const char *thin_pool_uuid, uint32_t device_id) { @@ -2713,6 +2712,8 @@ if (!_link_tree_nodes(node, seg->pool)) return_0; + seg->device_id = device_id; + return 1; }
next reply other threads:[~2011-10-03 18:26 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-10-03 18:26 zkabelac [this message] 2011-10-20 10:31 zkabelac 2011-11-03 14:45 zkabelac 2011-11-12 22:44 zkabelac
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=20111003182608.608.qmail@sourceware.org \ --to=zkabelac@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: linkBe 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).