diff options
author | Vinit Agnihotri <vinit.abhay.agnihotri@intel.com> | 2016-01-11 17:57:25 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 20:17:40 (GMT) |
commit | fbbeb8632bf0b46ab44cfcedc4654cd7831b7161 (patch) | |
tree | da1c79364eeca7e51bd557725832391572349c36 /lib/gen_crc32table.c | |
parent | 65487fdc0c8072b6ac32ed30fab34de4e66ace55 (diff) | |
download | linux-fbbeb8632bf0b46ab44cfcedc4654cd7831b7161.tar.xz |
IB/qib: Support creating qps with GFP_NOIO flag
The current code is problematic when the QP creation and ipoib is used to
support NFS and NFS desires to do IO for paging purposes. In that case, the
GFP_KERNEL allocation in qib_qp.c causes a deadlock in tight memory
situations.
This fix adds support to create queue pair with GFP_NOIO flag for connected
mode only to cleanly fail the create queue pair in those situations.
Cc: <stable@vger.kernel.org> # 3.16+
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions