[lvm-devel] [PATCH 2/3] Factor out seg->log_lv manipulation

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Jan 25 20:58:25 UTC 2008


Add attach_mirror_log()/detach_mirror_log()

With the recent changes to the internal stacking management,
it's mandatory to update lv->segs_using_this_lv after
seg->log_lv manipulation.

To avoid future problem, the attached patch changes
internal _add/remove_mirror_log() to attach/detach_mirror_log()
so that functions like lvconvert can use it.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refactor-log-attach-detach.patch
Type: text/x-patch
Size: 7811 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080125/e82f5b54/attachment.bin>


More information about the lvm-devel mailing list