summaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-07-08 11:58:21 -0700
committerDan Williams <dan.j.williams@intel.com>2008-07-08 11:58:21 -0700
commit7cc5bf9a3a84e5a02e23e5739fb894790b37c101 (patch)
treeb526b348ed1b64884bf672924540bb5dc29cb211 /include/linux/raid
parent9c402f4e196290692d998b188f9094deb1619e57 (diff)
downloadblackbird-op-linux-7cc5bf9a3a84e5a02e23e5739fb894790b37c101.tar.gz
blackbird-op-linux-7cc5bf9a3a84e5a02e23e5739fb894790b37c101.zip
dmaengine: track the number of clients using a channel
Haavard's dma-slave interface would like to test for exclusive access to a channel. The standard channel refcounting is not sufficient in that it tracks more than just client references, it is also inaccurate as reference counts are percpu until the channel is removed. This change also enables a future fix to deallocate resources when a client declines to use a capable channel. Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud