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

Bypass OI lookup in osd_fid_lookup() if it's for file creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.3.0
    • Lustre 2.3.0
    • None
    • 4557

    Description

      It's unnecessary to call osd_oi_lookup() in osd_fid_lookup if it's a file creation because FID shouldn't never be re-used so we expect it to be not existed, which means we can bypass overhead of OI lookup at here, if it's really a duplicate FID from unexpected reasons, we should be able to detect it later while calling do_create->osd_oi_insert().

      Attachments

        Activity

          People

            liang Liang Zhen (Inactive)
            liang Liang Zhen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: