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

common: object_map_update fails with -EINVAL return code #5559

Merged
2 commits merged into from Aug 30, 2015
Merged

Commits on Aug 13, 2015

  1. common: bit_vector extent calculation incorrect for last page

    It's highly probable that the last page in the bit vector will not
    be a full page size.  As a result, the computed extents will extend
    beyond the data portion of the bit vector, resulting in a end_of_buffer
    exception.
    
    Fixes: #12611
    Backport: hammer
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    (cherry picked from commit c6d9899)
    Jason Dillaman committed Aug 13, 2015
    Copy the full SHA
    fca7876 View commit details
    Browse the repository at this point in the history
  2. tests: increase test coverage for partial encodes/decodes

    Multiple combinations of offsets/lengths are now tested when
    performing partial encodes/decodes of the bit vector.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    (cherry picked from commit 3e145f7)
    Jason Dillaman committed Aug 13, 2015
    Copy the full SHA
    153744d View commit details
    Browse the repository at this point in the history