• Trond Myklebust's avatar
    Subject: [PATCH] NFS: Use parallel read operations to do direct read requests · bfcdbd79
    Trond Myklebust authored
     The initial implementation of NFS direct reads was entirely synchronous.
     The direct read logic issued one NFS READ operation at a time, and waited
     for the server's reply before issuing the next one.  For large direct
     read requests, this is unnecessarily slow.
    
     This patch changes the NFS direct read path to dispatch NFS READ operations
     for a single direct read request in parallel and wait for them once.  The
     direct read path is still synchronous in nature, but because the NFS READ
     operations are going in parallel, the completion wait should be much shorter.
    Signed-off-by: default avatarChuck Lever <cel@netapp.com>
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@fys.uio.no>
    bfcdbd79
inode.c 51.9 KB