Project

General

Profile

Actions

Bug #3798

closed

libceph/rbd: take reference to all bio's in list

Added by Alex Elder over 11 years ago. Updated over 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:
Crash signature (v1):
Crash signature (v2):

Description

In a separate bug ("libceph/rbd: bio refs are messed up") I
describe how reference counting of bio's interact between the
rbd and libceph kernel modules. Two problems are highlighted
there. I'm separating one of them out here so they can be
tracked independently.

This issue is to ensure all bio's in the bio list rather than
just the first one gets an additional reference to represent
libceph holding a pointer to the bio.

In principle, a request with bio's could be a linger request,
meaning libceph could hang onto it and use it to re-issue
the original request in case of a connection failure. This
would make the first issue very serious. In practice, linger
requests aren't used for I/O so it's not very critical.

Actions

Also available in: Atom PDF