]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: combine trim state machine object map batch update states
authorJason Dillaman <dillaman@redhat.com>
Fri, 13 Oct 2017 18:44:40 +0000 (14:44 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 15 Oct 2017 13:13:07 +0000 (09:13 -0400)
commit72ce4576fa2b562799a5bc78bd423cfabe097d67
treebb312923adc69e9f58d542b8ca57c6b649525c64
parentfc99603ea2b5b268181d38507b8b6fb55ae0a6d0
librbd: combine trim state machine object map batch update states

The PRE/POST states were previously divided into two halves for handling
the copy-up batch and the direct removal batch. This can be simplified by
just using a single PRE/POST for the entire deletion region.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/operation/TrimRequest.cc
src/librbd/operation/TrimRequest.h