Project

General

Profile

Actions

Fix #5989

closed

librados: document that bufferlist usage model is inconsistent

Added by Greg Farnum over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librados
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I discussed this on irc and it's not clear if we want to provide any guarantees or not, but it's certainly unpleasant to find that bufferlists we pass in are randomly cleared by the librados internals (in eg, IoCtx::write_full()) in a way that has no relationship to when the underlying memory is released. In my demo I was trying to use a base bufferlist, and do several writes using that bufferlist with a little extra tacked on to the end; perhaps that's enough of a toy to be not worth supporting but I feel like it generalizes a little bit...

Actions #1

Updated by Sage Weil over 10 years ago

  • Tracker changed from Bug to Fix
  • Status changed from New to 12
  • Target version set to v0.69
Actions #2

Updated by Sage Weil over 10 years ago

  • Subject changed from librados: bufferlist usage model is inconsistent to librados: document that bufferlist usage model is inconsistent
Actions #3

Updated by Sage Weil over 10 years ago

  • Translation missing: en.field_story_points set to 1.00
Actions #4

Updated by Sage Weil over 10 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF