diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2014-05-06 21:47:43 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2014-05-06 21:47:43 +0000 |
commit | 5809be0d871c26c91c40ed9a467bc81e8560ddaf (patch) | |
tree | 67d06e8d3f92b4bb767ae1429da39f07ef90a46e /sys/fs/nfsclient/nfs_clcomsubs.c | |
parent | acc2cc1958eac5d09263a090dffe8a3dca007da6 (diff) | |
download | FreeBSD-src-5809be0d871c26c91c40ed9a467bc81e8560ddaf.zip FreeBSD-src-5809be0d871c26c91c40ed9a467bc81e8560ddaf.tar.gz |
MFC: r264681
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.
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 bc47172..db4f173 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, }, |