Bug 1069706 - Explore improvement of handling of old snapshot code
Summary: Explore improvement of handling of old snapshot code
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Zdenek Kabelac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-25 14:37 UTC by Zdenek Kabelac
Modified: 2023-08-02 02:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1217819 0 unspecified CLOSED Device link race when creating snapshot 2021-02-22 00:41:40 UTC

Internal Links: 1217819

Description Zdenek Kabelac 2014-02-25 14:37:50 UTC
Description of problem:

While coding other pieces of lvm2 code it appears to me, we should improve handling of old-snapshot code inside lvm2 (mainly merge)

Code for snapshot seems to be spread into wrong layers and adds a lot of extra unneeded internal complexity.

Also we should try to eliminate multiphase execution of dm-tree - looks like preload of all children first before resuming them might resolve this problem.

This could be seen as low-prio task.



Version-Release number of selected component (if applicable):
2.02.105

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2023-02-12 16:56:14 UTC
As of the nature of old dm snapshot target - we can't reduce complexity - with recent patch we even needed to go the opposite way to ensure snapshots are scanned after origin LV.

Snapshot are required to be activated first - followed by the origin.

https://listman.redhat.com/archives/lvm-devel/2023-February/024556.html


Note You need to log in before you can comment on or make changes to this bug.