[PATCH v13 45/51] sunrpc: Allow to demand-allocate pages to encode into

Trond Myklebust trond.myklebust at primarydata.com
Tue Nov 3 10:25:46 CST 2015


On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher
<agruenba at redhat.com> wrote:
> When encoding large, variable-length objects such as acls into xdr_bufs,
> it is easier to allocate buffer pages on demand rather than precomputing
> the required buffer size.
>

NACK. We're not doing allocations from inside the XDR encoders. This
can and should be done before calling into the SUNRPC layer.

Trond



More information about the xfs mailing list