diff options
author | 2016-06-20 16:55:45 -0400 | |
---|---|---|
committer | 2016-06-20 14:28:39 -0700 | |
commit | 6dad4d8903a43b0e34d9527e54a52737b0f69690 (patch) | |
tree | 6d91dbb92d3dc0176049a9b7c2ed38b1b50245ec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging/lustre/llite: don't panic when fid is insane (diff) | |
download | linux-dev-6dad4d8903a43b0e34d9527e54a52737b0f69690.tar.xz linux-dev-6dad4d8903a43b0e34d9527e54a52737b0f69690.zip |
staging/lustre/llite: Restore proper opencache operations
Mark dentries that came to us via NFS in a special way so that
we can tell them apart during open and activate open cache
(we really don't want to do open/close RPC for every NFS IO).
This became needed since dentry revlidate no longer reimplements
any RPCs for lookup, and as such if a dentry is valid,
ll_revalidate_dentry returns 1 and ll_lookup_it() is never visited
during opens, we get straght into ll_file_open() without a valid
intent/RPC. This used to be only true for NFS, so opencache was
engaged needlessly, and it carries a cost of it's own if there is
in fact no repetitive file opening-closing going on
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/20354
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8019
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions