https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2016-03-23T13:04:36ZCeph rbd - Bug #15248: Flag is showing "flags: object map invalid", after enabling object map on an exclusive lock enabled Imagehttps://tracker.ceph.com/issues/15248?journal_id=680572016-03-23T13:04:36ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Rejected</i></li></ul><p>This is expected behavior -- when you enable object map on a pre-existing image, the object map is in fact invalid. You need to rebuild the object map after you dynamically enable it.</p> rbd - Bug #15248: Flag is showing "flags: object map invalid", after enabling object map on an exclusive lock enabled Imagehttps://tracker.ceph.com/issues/15248?journal_id=701072016-05-05T10:58:47ZRohith Radhakrishnanrohith.radhakrishnan@sandisk.com
<ul></ul><p>Jason Dillaman wrote:</p>
<blockquote>
<p>This is expected behavior -- when you enable object map on a pre-existing image, the object map is in fact invalid. You need to rebuild the object map after you dynamically enable it.</p>
</blockquote>
<p>@Jason<br />Does this explanation hold good for the fast-diff feature too? Because I am noticing the same behavior of flags becoming invalid on re-enabling fast-diff</p> rbd - Bug #15248: Flag is showing "flags: object map invalid", after enabling object map on an exclusive lock enabled Imagehttps://tracker.ceph.com/issues/15248?journal_id=701112016-05-05T13:16:43ZJason Dillamandillaman@redhat.com
<ul></ul><p>@Rohith: yes, fast-diff follows the same rationale. The fast-diff feature is an extension to the object-map that uses spare bits in the map to encode that the object exists but is the same as the previous snapshot (i.e. no copy-on-write). In a perfect world the the features would be combined into a single feature, but since they were introduced in different releases, it will take a little time to safely phase in.</p>