commit | 4a0de55c565a36cac8422b76a948c4634a90781e | [log] [tgz] |
---|---|---|
author | Anna Schumaker <Anna.Schumaker@netapp.com> | Tue May 06 09:12:30 2014 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed May 28 18:40:04 2014 -0400 |
tree | 749ab695ab23756f1f7c791a17a2125eac993d9c | |
parent | 00bfa30abe86982ce1929e9cabd703e5546106bd [diff] |
NFS: Create a common rw_header_alloc and rw_header_free function I create a new struct nfs_rw_ops to decide the differences between reads and writes. This struct will be set when initializing a new nfs_pgio_descriptor, and then passed on to the nfs_rw_header when a new header is allocated. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>