]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS: Use GFP_NOIO for two allocations in writeback
authorBenjamin Coddington <bcodding@redhat.com>
Wed, 19 Apr 2017 14:11:33 +0000 (10:11 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 17:55:10 +0000 (13:55 -0400)
commitae97aa524ef495b6276fd26f5d5449fb22975d7c
tree4ce8eaec4ba166c40de18ec88f839adfbf70825b
parent1f84ccdf37d0db3a70714d02d51b0b6d45887fb8
NFS: Use GFP_NOIO for two allocations in writeback

Prevent a deadlock that can occur if we wait on allocations
that try to write back our pages.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Fixes: 00bfa30abe869 ("NFS: Create a common pgio_alloc and pgio_release...")
Cc: stable@vger.kernel.org # 3.16+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c