summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorKiyoshi Ueda2009-12-11 00:52:13 +0100
committerAlasdair G Kergon2009-12-11 00:52:13 +0100
commit90abb8c4cec8f0aa4ce58790542e3cf13071601a (patch)
tree4233757994b2ff97c29c81d5aae9f4660dcea1b3 /drivers/md/dm.h
parentdm kcopyd: accept zero size jobs (diff)
downloadkernel-qcow2-linux-90abb8c4cec8f0aa4ce58790542e3cf13071601a.tar.gz
kernel-qcow2-linux-90abb8c4cec8f0aa4ce58790542e3cf13071601a.tar.xz
kernel-qcow2-linux-90abb8c4cec8f0aa4ce58790542e3cf13071601a.zip
dm: abstract dm_in_flight function
This patch adds md_in_flight() to get the number of in_flight I/Os. No functional change. This patch is a preparation for a later patch in this series, which changes I/O counter to md->pending from q->in_flight in request-based dm. Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions