NFS: alloc nfs_read/write_data as direct I/O is scheduled
authorChuck Lever <cel@netapp.com>
Tue, 20 Jun 2006 16:57:03 +0000 (12:57 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 24 Jun 2006 17:11:39 +0000 (13:11 -0400)
commit82b145c5a572f7fa7211dffe2097234dc91bcecc
tree35689aa653d29f17681f13d89d592c88e7c112e5
parent06cf6f2ed0b19629700794727d86ed57b9c0583e
NFS: alloc nfs_read/write_data as direct I/O is scheduled

Re-arrange the logic in the NFS direct I/O path so that nfs_read/write_data
structs are allocated just before they are scheduled, rather than
allocating them all at once before we start scheduling requests.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c