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: Some more plumbing for zone cleaning (WIP) #38641

Merged
merged 14 commits into from
Apr 24, 2021

Commits on Apr 14, 2021

  1. os/bluestore: Remove zoned allocator-specific calls from the

    Allocator/FreeListManager interface and use dynamic_cast for those calls.
    
    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    120f24f View commit details
    Browse the repository at this point in the history
  2. os/bluestore: Remove redundant text from zone_state_t output operator.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    867f87e View commit details
    Browse the repository at this point in the history
  3. os/bluestore: Rename a ZonedAllocator member function for consistency.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    7133a26 View commit details
    Browse the repository at this point in the history
  4. os/bluestore: Rename zoned_ prefixes from ZonedAllocator methods now …

    …that we are
    
    using dynamic_cast.
    
    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    de1ec95 View commit details
    Browse the repository at this point in the history
  5. os/bluestore: Add a member function to ZonedAllocator and to

    ZonedFreelistManager to mark a zone free.
    
    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    a612fdf View commit details
    Browse the repository at this point in the history
  6. os/bluestore: Implement release method of ZonedAllocator to increment…

    … the number of dead bytes of a zone on which the released extents are located.
    
    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    fd03c8d View commit details
    Browse the repository at this point in the history
  7. os/bluestore: Implement zone cleaning. TBD.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    09dc3d1 View commit details
    Browse the repository at this point in the history
  8. os/bluestore: Rename set_zones_states to init_alloc.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    8bf15a2 View commit details
    Browse the repository at this point in the history
  9. os/bluestore: Use a different name for the member variable and functi…

    …on parameter.
    
    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    15faa0b View commit details
    Browse the repository at this point in the history
  10. os/bluestore: Implement a function to find zones to clean.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    d426949 View commit details
    Browse the repository at this point in the history
  11. os/bluestore: In ZonedAllocator, when allocating space, skip zones th…

    …at are
    
    currently being cleaned; also decrement free space after an allocation.
    
    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    7361bf9 View commit details
    Browse the repository at this point in the history
  12. os/bluestore: Simplify cleaning logic.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    a958d72 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2021

  1. os/bluestore: Guard Zoned* headers with HAVE_LIBZBD.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    939d379 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. os/bluestore: Removed redundant logging.

    Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
    agayev committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    389d8de View commit details
    Browse the repository at this point in the history