summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVinit Agnihotri <vinit.abhay.agnihotri@intel.com>2016-01-11 12:57:25 -0500
committerLuis Henriques <luis.henriques@canonical.com>2016-02-02 19:10:03 +0000
commitd1fde520b3dfaed134f3735ae3508da7573b0afa (patch)
tree9509936ff64bbfe3483d3977cb1db2e483ac776f /include/linux
parent4b5cb3f85217c81fa3cc4816dcf2e061c0d97b77 (diff)
IB/qib: Support creating qps with GFP_NOIO flag
commit fbbeb8632bf0b46ab44cfcedc4654cd7831b7161 upstream. 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. 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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions