commit | 0d0b5cb36faf7002a11736032313f06d6f3d881c | [log] [tgz] |
---|---|---|
author | Chuck Lever <cel@netapp.com> | Thu May 25 01:40:53 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jun 09 09:34:07 2006 -0400 |
tree | d767ae12fde00b553546aab9f5aa3e23cd86069d | |
parent | bf3fcf89552f24657bcfb6a9d73cd167ebb496c6 [diff] |
NFS: Optimize allocation of nfs_read/write_data structures Clean up use of page_array, and fix an off-by-one error noticed by Tom Talpey which causes kmalloc calls in cases where using the page_array is sufficient. Test plan: Normal client functional testing with r/wsize=32768. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>