Return-Path: Received: from mail-oi0-f48.google.com ([209.85.218.48]:34070 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756081AbbE2PqO (ORCPT ); Fri, 29 May 2015 11:46:14 -0400 MIME-Version: 1.0 In-Reply-To: References: <4bf77d045d2bd3494c695229cd0505b7002cc9a2.1429868795.git.agruenba@redhat.com> Date: Fri, 29 May 2015 17:46:14 +0200 Message-ID: Subject: Re: [RFC v3 41/45] rpc: Allow to demand-allocate pages to encode into From: =?UTF-8?Q?Andreas_Gr=C3=BCnbacher?= To: Trond Myklebust Cc: Linux Kernel Mailing List , Linux FS-devel Mailing List , Linux NFS Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: 2015-05-29 1:24 GMT+02:00 Trond Myklebust : > xdr_get_next_encode() should return NULL on failure, not ENOMEM. > Why is this trying to do a GFP_KERNEL allocation inside an XDR routine > anyway? That's not an I/O safe sleep. Fixed, thanks. Andreas