summaryrefslogtreecommitdiff
path: root/virt/kvm/assigned-dev.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-10 12:34:25 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:18:38 -0700
commit55f27e09312310d4dea9bb7b80c696f407caf1be (patch)
treee5534d19fb6adc31e7597edf573024f655f5987b /virt/kvm/assigned-dev.c
parenta5a337d4382dfe0f9e9e072e7d3eaad8e05e4b0b (diff)
downloadlwn-55f27e09312310d4dea9bb7b80c696f407caf1be.tar.gz
lwn-55f27e09312310d4dea9bb7b80c696f407caf1be.zip
rbd: record aggregate image transfer count
Compute the total number of bytes transferred for an image request--the sum across each of the request's object requests. To avoid contention do it only when all object requests are complete, in rbd_img_request_complete(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions