Jason Woodward has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1199685?usp=email )
Change subject: nfs_main.c: add prctl(PR_SET_IO_FLUSHER,1) call to avoid kernel deadlocks
......................................................................
nfs_main.c: add prctl(PR_SET_IO_FLUSHER,1) call to avoid kernel deadlocks
See
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
Setting PR_SET_IO_FLUSHER prevents recursive allocation for user space
components that are in the I/O path. Otherwise a deadlock can occur when
device I/O needs to allocate memory but the allocation would require
device I/O to complete.
Change-Id: Ia5328ba133ba3fc4950db22b0ec2aab718143b6c
Signed-off-by: Jason Woodward <jawoodwa(a)microsoft.com>
---
M src/MainNFSD/nfs_main.c
1 file changed, 18 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/85/1199685/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1199685?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ia5328ba133ba3fc4950db22b0ec2aab718143b6c
Gerrit-Change-Number: 1199685
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Woodward <jawoodwa(a)microsoft.com>