diff options
author | Olaf Kirch <olaf.kirch@oracle.com> | 2008-01-16 18:37:16 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 14:15:43 -0800 |
commit | a3cd7d9070be417a21905c997ee32d756d999b38 (patch) | |
tree | 1576c829374700bb774ed6e560aa9be318240526 /drivers/firewire | |
parent | a656eb758fc6e6a42659ecf5ba34a5c5a2aeec17 (diff) |
IB/fmr_pool: ib_fmr_pool_flush() should flush all dirty FMRs
When a FMR is released via ib_fmr_pool_unmap(), the FMR usually ends
up on the free_list rather than the dirty_list (because we allow a
certain number of remappings before actually requiring a flush).
However, ib_fmr_batch_release() only looks at dirty_list when flushing
out old mappings. This means that when ib_fmr_pool_flush() is used to
force a flush of the FMR pool, some dirty FMRs that have not reached
their maximum remap count will not actually be flushed.
Fix this by flushing all FMRs that have been used at least once in
ib_fmr_batch_release().
Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions