https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2020-01-09T23:14:59ZCeph CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1553402020-01-09T23:14:59ZPatrick Donnellypdonnell@redhat.com
<ul></ul><p>If you flush the journal:</p>
<pre>
2020-01-09T23:14:02.155+0000 7f88482f3700 10 mds.0.cache.ino(0x1000000009f) _stored_backtrace v 364
2020-01-09T23:14:02.155+0000 7f88482f3700 10 mds.0.cache.ino(0x1000000009f) auth_unpin by 0x55fe1bf7f800 on [inode 0x1000000009f [2,head] /bin/nl-neigh-delete auth v1570 dirtyparent s=13776 n(v0 rc2020-01-09T23:03:18.966105+0000 b13776 1=1+0) (iversion lock) | ptrwaiter=0 request=0 lock=0 caps=0 dirtyparent=1 scrubqueue=0 dirty=1 authpin=0 0x55fe1bf7f800] now 0
2020-01-09T23:14:02.155+0000 7f88482f3700 15 mds.0.cache.dir(0x10000000000) adjust_nested_auth_pins -1 on [dir 0x10000000000 /bin/ [2,head] auth v=7257 cv=7257/0 ap=1+1602 state=1610612769|complete|committing f(v0 m2020-01-09T23:03:55.149261+0000 1793=1793+0) n(v0 rc2020-01-09T23:03:55.162878+0000 b270047911 1777=1777+0) hs=1793+0,ss=0+0 dirty=1793 | child=1 dirty=1 authpin=1 0x55fe1b94d700] by 0x55fe1bf7f800 count now 1/1602
2020-01-09T23:14:02.155+0000 7f88482f3700 10 mds.0.cache.ino(0x1000000009f) clear_dirty_parent
</pre>
<p>and then a new scrub completes without error.</p>
<pre>
2020-01-09T23:16:05.892+0000 7f88482f3700 10 MDSContext::complete: 19MDSIOContextWrapper
2020-01-09T23:16:05.892+0000 7f88482f3700 20 mds.0.cache.ino(0x1000000009f) ondisk_read_retval: 0
2020-01-09T23:16:05.892+0000 7f88482f3700 10 mds.0.cache.ino(0x1000000009f) decoded 100 bytes of backtrace successfully
2020-01-09T23:16:05.892+0000 7f88482f3700 10 mds.0.cache.ino(0x1000000009f) scrub: inotable ino = 0x1000000009f
2020-01-09T23:16:05.892+0000 7f88482f3700 10 mds.0.cache.ino(0x1000000009f) scrub: inotable free says 0
2020-01-09T23:16:05.892+0000 7f88482f3700 10 MDSContext::complete: 16C_InodeValidated
2020-01-09T23:16:05.892+0000 7f88482f3700 10 mds.0.scrubstack _validate_inode_done scrub passed on inode [inode 0x1000000009f [2,head] /bin/nl-neigh-delete auth v1570 s=13776 n(v0 rc2020-01-09T23:03:18.966105+0000 b13776 1=1+0) (iversion lock) 0x55fe1bf7f800]
2020-01-09T23:16:05.892+0000 7f88482f3700 20 mds.0.cache.ino(0x1000000009f) scrub_finished
2020-01-09T23:16:05.892+0000 7f88482f3700 20 mds.0.cache.dir(0x10000000000) scrub_dentry_finished on dn [dentry #0x1/bin/nl-neigh-delete [2,head] auth (dversion lock) v=1570 ino=0x1000000009f state=1073741824 | request=0 lock=0 inodepin=0 scrubparent=1 dirty=0 authpin=0 0x55fe1bfa6900]
</pre> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1553472020-01-10T07:44:50ZZheng Yanukernel@gmail.com
<ul></ul><p>This issue exists since scrub is first implemented. Should be easy to fix, just ignore checking backtrace if dirty_parent is set</p> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1554892020-01-11T01:13:23ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Triaged</i></li><li><strong>Assignee</strong> changed from <i>Zheng Yan</i> to <i>Milind Changire</i></li><li><strong>Priority</strong> changed from <i>Urgent</i> to <i>Normal</i></li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1569302020-01-24T23:09:23ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Target version</strong> changed from <i>v15.0.0</i> to <i>v16.0.0</i></li><li><strong>Labels (FS)</strong> <i>scrub</i> added</li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1619822020-03-30T14:37:03ZMilind Changire
<ul><li><strong>Pull request ID</strong> set to <i>34288</i></li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1650092020-05-05T20:21:19ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>Triaged</i> to <i>Fix Under Review</i></li><li><strong>Backport</strong> set to <i>octopus,nautilus</i></li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1672672020-06-03T01:58:47ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1673362020-06-03T12:22:03ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/45851">Backport #45851</a>: octopus: mds: scrub on directory with recently created files may fail to load backtraces and report damage</i> added</li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1673382020-06-03T12:22:10ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/45852">Backport #45852</a>: nautilus: mds: scrub on directory with recently created files may fail to load backtraces and report damage</i> added</li></ul> CephFS - Bug #43543: mds: scrub on directory with recently created files may fail to load backtraces and report damagehttps://tracker.ceph.com/issues/43543?journal_id=1704872020-07-13T20:10:53ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul><p>While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".</p>