]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: simplify AioRequest constructor parameters 4233/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 31 Mar 2015 16:28:11 +0000 (12:28 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 7 Apr 2015 15:26:57 +0000 (11:26 -0400)
commit46515971edab8888284b1a8307ffca88a9c75f5c
treea63286e566e0ff35a496c61dc7bcd1e527ee49f2
parent1c381b3ca8a6575099c0f4711eacf1b3850e4b85
librbd: simplify AioRequest constructor parameters

Moved all parent overlap computation to within AioRequest so that
callers don't need to independently compute the overlap.  Also
removed the need to pass the snap_id for write operations since
it can only be CEPH_NOSNAP.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioRequest.cc
src/librbd/AioRequest.h
src/librbd/AsyncFlattenRequest.cc
src/librbd/AsyncTrimRequest.cc
src/librbd/LibrbdWriteback.cc
src/librbd/internal.cc