Project

General

Profile

Bug #4857

libceph: define snap context creation function

Added by Alex Elder almost 7 years ago. Updated almost 7 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

I created a function to encapsulate the creation of a snapshot
context, for use in rbd. In review, Josh said he thought it
really belonged in libceph (I agreed). I said I would do it
after initially committing the code I'd already done.

See discussion here:
https://patchwork.kernel.org/patch/2494611/

History

#1 Updated by Alex Elder almost 7 years ago

  • Status changed from In Progress to Fix Under Review

The following have been posted for review. They are
available in the "review/wip-rbd-cleanup-6" branch of
the ceph-client git repository.

While reviewing a recent rbd change Josh suggested that a
function I created for creating a snapshot context really
belonged in libceph. These patches do that. The first
defines the function in a new source file, and the second
puts it to work.

-Alex

[PATCH 1/2] libceph: create source file "net/ceph/snapshot.c"
[PATCH 2/2] ceph: use ceph_create_snap_context()

#2 Updated by Alex Elder almost 7 years ago

  • Status changed from Fix Under Review to Resolved

The following have been committed to the "testing" branch
of the ceph-client git repository:

6b6e51a libceph: create source file "net/ceph/snapshot.c"
533ebfd ceph: use ceph_create_snap_context()

Also available in: Atom PDF