Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core/store
    • New

    Description

      Spinoff from LUCENE-2793.

      Just like we will create native Dir impl (UnixDirectory) to pass the right OS level IO flags depending on the IOContext, we could in theory do something similar with MMapDir.

      The problem is MMap is apparently quite hairy... and to pass the flags the native code would need to invoke mmap (I think?), unlike UnixDir where the code "only" has to open the file handle.

      Attachments

        1. LUCENE-3178.patch
          218 kB
          Michael McCandless
        2. LUCENE-3178-Native-MMap-implementation.patch
          68 kB
          Greg Bowyer
        3. LUCENE-3178-Native-MMap-implementation.patch
          69 kB
          Greg Bowyer
        4. LUCENE-3178-Native-MMap-implementation.patch
          69 kB
          Greg Bowyer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikemccand Michael McCandless
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: