Project

General

Profile

Actions

Bug #4426

closed

libceph: no outbound zero data

Added by Alex Elder about 11 years ago. Updated about 11 years ago.

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

0%

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

Description

There is handling in write_partial_message_data() for the case where
only the length of--and no other information about--the data to be
sent has been specified. It uses the zero page as the source of
data to send in this case.

This case doesn't occur. All message senders set up a page array,
pagelist, or bio describing the data to be sent. So eliminate the
block of code that handles this (but check and issue a warning for
now, just in case it happens for some reason).

Signed-off-by: Alex Elder <>

Actions #1

Updated by Alex Elder about 11 years ago

This is related to http://tracker.ceph.com/issues/3761.

Getting rid of this makes it easier to rearrange things so
multiple pieces of data can be described for a single message.

Actions #2

Updated by Alex Elder about 11 years ago

  • Status changed from In Progress to Fix Under Review

This patch has been posted for review.
[PATCH] libceph: no outbound zero data

Actions #3

Updated by Alex Elder about 11 years ago

  • Status changed from Fix Under Review to Resolved

This has been committed to the testing branch:
db32373 libceph: no outbound zero data

Actions

Also available in: Atom PDF