Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10295

Remove the specified entry from ZAP directly

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 9223372036854775807

    Description

      Currently, zap_remove()/zap_remove_by_dnode() will lookup the specified index (or name) to locate the entry internally, then remove the found entry. In fact, for most of cases, the caller has already performed lookup before calling zap_remove()/zap_remove_by_dnode(). But related lookup result cannot be reused by the zap_remove()/zap_remove_by_dnode(). If we can extend ZAP remove API to recognize the former lookup result, and remove the specified entry directly, then the unlink/delete performance can be improved.

      Attachments

        Activity

          [LU-10295] Remove the specified entry from ZAP directly
          yong.fan nasf (Inactive) added a comment - https://github.com/zfsonlinux/zfs/issues/6948

          I would file this ticket as an issue in the Github zfsonlinux issue tracker, and then get feedback from Brian and Matt whether they would accept such an API?

          adilger Andreas Dilger added a comment - I would file this ticket as an issue in the Github zfsonlinux issue tracker, and then get feedback from Brian and Matt whether they would accept such an API?

          People

            wc-triage WC Triage
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: