diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2014-04-19 19:40:20 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2014-04-19 19:40:20 +0000 |
commit | de1a42bd0c76a99dd61d54ce4fffb430cc56f362 (patch) | |
tree | f280888745fd8eb58c55533098b93f627274ca84 /sys/fs/nfsclient/nfs_clcomsubs.c | |
parent | ad6c0150c0408a878e09c50e01995f20ec0c5e85 (diff) | |
download | src-de1a42bd0c76a99dd61d54ce4fffb430cc56f362.tar.gz src-de1a42bd0c76a99dd61d54ce4fffb430cc56f362.zip |
Modify the NFSv4 client open/create RPC so that it acquires
post-open/create directory attributes. This allows the RPC to
name cache the newly created file and reduces the lookup RPC
count by about 10% for software builds.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=264681
Diffstat (limited to 'sys/fs/nfsclient/nfs_clcomsubs.c')
-rw-r--r-- | sys/fs/nfsclient/nfs_clcomsubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clcomsubs.c b/sys/fs/nfsclient/nfs_clcomsubs.c index bc4717229066..db4f1731809c 100644 --- a/sys/fs/nfsclient/nfs_clcomsubs.c +++ b/sys/fs/nfsclient/nfs_clcomsubs.c @@ -66,7 +66,7 @@ static struct { { NFSV4OP_READLINK, 2, "Readlink", 8, }, { NFSV4OP_READ, 1, "Read", 4, }, { NFSV4OP_WRITE, 2, "Write", 5, }, - { NFSV4OP_OPEN, 3, "Open", 4, }, + { NFSV4OP_OPEN, 5, "Open", 4, }, { NFSV4OP_CREATE, 3, "Create", 6, }, { NFSV4OP_CREATE, 1, "Create", 6, }, { NFSV4OP_CREATE, 3, "Create", 6, }, |