commit | bc0fb201b34b12e2d16e8cbd5bb078c1db936304 | [log] [tgz] |
---|---|---|
author | Chuck Lever <cel@netapp.com> | Mon Mar 20 13:44:31 2006 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Mar 20 13:44:31 2006 -0500 |
tree | 58a9aa8bee2de7e42f81c522115cd10078a6a5ef | |
parent | 487b83723ed4d4eaafd5109f36560da4f15c6578 [diff] |
NFS: create common routine for waiting for direct I/O to complete We're about to add asynchrony to the NFS direct write path. Begin by abstracting out the common pieces in the read path. The first piece is nfs_direct_read_wait, which works the same whether the process is waiting for a read or a write. Test plan: Compile kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>