<div dir="ltr">Hi,<div>  If i have a snapshot origin created using dmsetup create table with a mapping  real device  with (major,minor) =(8,18) and lets name it /dev/mapper/dmso . Now the set of reads are writes done from /dev/mapper/dmso have some values (R,W).</div><div><br></div><div>Had i been creating a persistent snapshot using (P or PO) mode with origin device as /dev/null and COW device is my real device (maj,min)=8,18 and it is named as /dev/mapper/dmsp. Now if i do the exact same reads and writes that i did to dmso (snapshot-origin) , will get i the same set of output values (R,W).</div><div><br></div><div>In my experiment i did. So i'm asking is there a case where it differs ? </div><div><br></div><div>Also i looked at the code in drivers/md/dm-snap.c and i find that both the drivers snapshot and snapshot-origin use the same __orgin_write . So my partial/incomplete understanding is that it works from the read/write view point from /dev/mapper/dmsp.</div><div><br></div><div>I'll not be using the snapshot-merge feature , so merging to /dev/null is irrelevant here.</div><div><br></div><div>Regards,</div><div><div><div class="gmail_signature">-- Navin </div>
</div></div></div>