summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-gembird.c
diff options
context:
space:
mode:
authorOleg Drokin <oleg.drokin@intel.com>2016-06-20 23:55:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-21 00:28:39 +0300
commit6dad4d8903a43b0e34d9527e54a52737b0f69690 (patch)
tree6d91dbb92d3dc0176049a9b7c2ed38b1b50245ec /drivers/hid/hid-gembird.c
parentc681528a2ba7c8ceb273c608ff26c38b5ee668e8 (diff)
downloadlinux-6dad4d8903a43b0e34d9527e54a52737b0f69690.tar.xz
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 'drivers/hid/hid-gembird.c')
0 files changed, 0 insertions, 0 deletions