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

2015-11-08 Thread Andreas Gruenbacher
On Thu, Nov 5, 2015 at 4:57 PM, Trond Myklebust wrote: > On Thu, Nov 5, 2015 at 6:07 AM, Andreas Gruenbacher > wrote: >> Trond, >> >> On Tue, Nov 3, 2015 at 5:25 PM, Trond Myklebust >> wrote: >>> On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher >>> wrote: When encoding large, variable

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

2015-11-05 Thread Trond Myklebust
On Thu, Nov 5, 2015 at 6:07 AM, Andreas Gruenbacher wrote: > Trond, > > On Tue, Nov 3, 2015 at 5:25 PM, Trond Myklebust > wrote: >> On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher >> wrote: >>> When encoding large, variable-length objects such as acls into xdr_bufs, >>> it is easier to allo

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

2015-11-05 Thread Andreas Gruenbacher
Trond, On Tue, Nov 3, 2015 at 5:25 PM, Trond Myklebust wrote: > On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher > 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 bu

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

2015-11-03 Thread Trond Myklebust
On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher 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 enc