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

Retry LBM hole punching on crash

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: fs
    • Labels:
      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

        1. test.c
          1 kB
          Adar Dembo

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: