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

hammer: osd: smaller object_info_t xattrs #6544

Merged
merged 4 commits into from Dec 17, 2015

Commits on Dec 15, 2015

  1. osd/ReplicatedPG: do not set omap digest if there is no omap

    We want to avoid encoding it if we can.  And if the FLAG_OMAP is not set
    we don't need to *also* store an empty crc.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    fe1c28d View commit details
    Browse the repository at this point in the history
  2. osd/PGBackend: use mtime for digest decision if local_mtime is empty

    If we don't have a local_mtime value, use mtime instead, for the purposes
    of deciding if we should record a digest after scrub.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    98bdb09 View commit details
    Browse the repository at this point in the history
  3. osd/ReplicatedPG: do not set local_mtime on non-tiered pool

    If a pool isn't tiered, don't bother with setting local_mtime.  The only
    users are the tiering agent (which isn't needed if there is not tiering)
    and scrub for deciding if an object should get its digest recorded (we can
    use mtime instead).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    1548a3f View commit details
    Browse the repository at this point in the history
  4. osd/osd_types: skip encoding newer object_info_t fields if they are u…

    …nused
    
    This reduces the size of the encoded object_info_t in most cases,
    enough to get us under the 255 byte limit for a single inline
    xattr in XFS.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    a9d3f07 View commit details
    Browse the repository at this point in the history