Skip to content

Commit

Permalink
ceph_test_objectstore: fix Synthetic to never modify bufferlists
Browse files Browse the repository at this point in the history
We were modifying bufferlists in place, and kludging around it by making
full copies elsewhere.  Instead, never modify a buffer.

This fixes issues where the buffer we submit to ObjectStore ends up in
the cache and we modify in place later, corrupting the implementation's
copy.  (This was affecting BlueStore.)

Rearrange the data methods to be next to each other and clean them up a
bit too.

Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Mar 10, 2017
1 parent 6d896e8 commit e4ff4df
Showing 1 changed file with 176 additions and 174 deletions.

0 comments on commit e4ff4df

Please sign in to comment.