diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-27 13:48:18 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-01 15:42:43 -0400 |
commit | 90ff0c548d1220d31f80e498b587393895705e6c (patch) | |
tree | cb3b1f54071764034304c4c35440ca12235e4b20 /include/linux | |
parent | fee7fe196c41847c135cde41b0ec790f53ee6fcf (diff) |
NFSv4: Simplify the NFSv4 OPEN compound
Get rid of the post-op GETATTR on the directory in order to reduce
the amount of processing done on the server.
The cost is that if we later need to stat() the directory, then we
know that the ctime and mtime are likely to be invalid.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_xdr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index bc3680885428..92a929fc97c8 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -338,7 +338,6 @@ struct nfs_openargs { | |||
338 | const struct qstr * name; | 338 | const struct qstr * name; |
339 | const struct nfs_server *server; /* Needed for ID mapping */ | 339 | const struct nfs_server *server; /* Needed for ID mapping */ |
340 | const u32 * bitmask; | 340 | const u32 * bitmask; |
341 | const u32 * dir_bitmask; | ||
342 | __u32 claim; | 341 | __u32 claim; |
343 | struct nfs4_sequence_args seq_args; | 342 | struct nfs4_sequence_args seq_args; |
344 | }; | 343 | }; |
@@ -349,7 +348,6 @@ struct nfs_openres { | |||
349 | struct nfs4_change_info cinfo; | 348 | struct nfs4_change_info cinfo; |
350 | __u32 rflags; | 349 | __u32 rflags; |
351 | struct nfs_fattr * f_attr; | 350 | struct nfs_fattr * f_attr; |
352 | struct nfs_fattr * dir_attr; | ||
353 | struct nfs_seqid * seqid; | 351 | struct nfs_seqid * seqid; |
354 | const struct nfs_server *server; | 352 | const struct nfs_server *server; |
355 | fmode_t delegation_type; | 353 | fmode_t delegation_type; |