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

unify lu_object_{find,locate} interfaces to return "-ENOENT" for NULL case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 12695

    Description

      Currently, lu_object_locate() will return NULL for the case of not found the required object (slice), but related lu_object_find_xxx() may return "-ENOENT" for that. Such inconsistent behaviour will confuse the callers. We prefer to make them all to return "-ENOENT" for the case of not found the object.

      Attachments

        Activity

          People

            bogl Bob Glossman (Inactive)
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: