Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: simplify allocator release flow #12343

Merged
merged 7 commits into from Dec 16, 2016

Commits on Dec 15, 2016

  1. os/bluestore: release alloc directly into usable pool

    Wait until after the kv transaction commits, and then
    release extents directly into the usable pool.
    
    This will let us remove the commit_{start,end} business.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    b605a14 View commit details
    Browse the repository at this point in the history
  2. os/bluestore: defer bluefs reclaimed extent release

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    65ead28 View commit details
    Browse the repository at this point in the history
  3. os/bluestore: do not call commit_{start,finish}

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    9e41b4c View commit details
    Browse the repository at this point in the history
  4. os/bluestore/BlueFS: defer releasing extents explicitly

    Don't rely on the Allocator to do this for us (that is
    about to go away!).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    e0ec06e View commit details
    Browse the repository at this point in the history
  5. os/bluestore/BlueFS: do not call commit_{start,finish}

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    9fad893 View commit details
    Browse the repository at this point in the history
  6. os/bluestore: remove commit_{start,finish} from Allocator

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    5522dee View commit details
    Browse the repository at this point in the history
  7. os/bluestore: clone_range of len 0 creates but does not size object

    This mimics, roughly,
    
     open(..., O_WRONLY|O_CREAT, ...)
     seek(...)
     if (len > 0)
       write(...)
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2016
    Copy the full SHA
    a411f58 View commit details
    Browse the repository at this point in the history