]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds_rdma: do not dealloc fmrs in the pool under use
authorWengang Wang <wen.gang.wang@oracle.com>
Tue, 4 Aug 2015 08:23:06 +0000 (16:23 +0800)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 12 Aug 2015 22:44:19 +0000 (15:44 -0700)
commit63e56ae255b533f1d880b1f081a2e16131839e80
treeeb62079317047a9f674b70869cffa7322d5796dc
parent5de38612eacd1011bb3fb1b51bc0614068ff2ced
rds_rdma: do not dealloc fmrs in the pool under use

In rds_ib_alloc_fmr, when it needs flush pools, it de-allocates FMRs.
That is time-consuming and is not meaningful in functionality perspective.

Fix is to not de-allocate the ones in the pool which is under use.

Orabug: 21551548

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Reviewed-by: Chien-Hua Yen <chien.yen@oracle.com>
net/rds/ib_rdma.c