Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1857

Retry LBM hole punching on crash

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • fs
    • None

    Description

      Given the LBM design, it's possible for block deletion to be committed via a metadata write, but for the subsequent hole punch to fail, or for the server to crash in between. As such, we should provide a mechanism to "re-hole-punch" deleted blocks. This could be dumb and hole punch every dead block in the container, or it could be smart and use the FIEMAP ioctl to figure out which dead blocks have live extents and surgically punch them.

      Separately, this should be runnable at startup, and perhaps as part of a general filesystem checker in the CLI tool.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adar Adar Dembo
            adar Adar Dembo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment