]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: simplify AioRequest constructor parameters
authorJason Dillaman <dillaman@redhat.com>
Tue, 31 Mar 2015 16:28:11 +0000 (12:28 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 28 Jul 2015 20:35:20 +0000 (16:35 -0400)
commit2ee64a80794297d4fc5aeafbb185818f7f6a77b8
tree0488c532ad0c771a10eaf7f941bded2328c28af0
parent3e71a7554da05aee06d5a2227808c321a3e3f0f1
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>
(cherry picked from commit 46515971edab8888284b1a8307ffca88a9c75f5c)
src/librbd/AioRequest.cc
src/librbd/AioRequest.h
src/librbd/AsyncFlattenRequest.cc
src/librbd/AsyncTrimRequest.cc
src/librbd/LibrbdWriteback.cc
src/librbd/internal.cc