• Type: Icon: Task Task
    • Resolution: Done
    • WT1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Michael, this is the first part of the mmap changes: I needed a per-checkpoint structure in which to store the mapping. In summary, I've added a new structure, WT_BM, which is the per-checkpoint handle. The WT_BM also has a list of methods the upper-level btree engine uses to call into the block manager. The list of methods is the change we'd need for pluggable block managers; with this change, adding a second block manager should be relatively straight-forward (assuming it has roughly similar characteristics to the current block manager code). I didn't bother creating the extension structures, but it's pretty clear how that would work.

      Anyway, I've created the pull request so you can easily take a look if you're interested in this change.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: