]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "IB/fmr_pool: ib_fmr_pool_flush() should flush all dirty FMRs"
authorPete Wyckoff <pw@osc.edu>
Tue, 26 Feb 2008 18:27:31 +0000 (13:27 -0500)
committerRoland Dreier <rolandd@cisco.com>
Fri, 29 Feb 2008 21:29:19 +0000 (13:29 -0800)
commit40a88c868bb4cd375fbfe1fc1605c5254ca489ec
tree49a0c8b339366ae134f02f1eede6a4a0804bd62e
parentbfe15522c3ab293bd36ba7a45758d303ca88788c
Revert "IB/fmr_pool: ib_fmr_pool_flush() should flush all dirty FMRs"

This reverts commit 9a23fab54734f95275c741c4b737c01c4bf19785.

The original commit breaks iSER reliably, making it complain:

    iser: iser_reg_page_vec:ib_fmr_pool_map_phys failed: -11

The FMR cleanup thread runs ib_fmr_batch_release() as dirty entries
build up.  This commit causes clean but used FMR entries also to be
purged.  During that process, another thread can see that there are no
free FMRs and fail, even though there should always have been enough
available.

Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/fmr_pool.c