summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJC Lafoucriere <jacques-charles.lafoucriere@cea.fr>2013-06-03 17:40:44 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-03 22:26:34 +0400
commitbc9691761818e72527d67c5f9a01cc09df3c04cf (patch)
tree8c831485be2bdd71432a39f883b3cfa2163667e5 /security
parentc52f69c57885d9414e1fe7a0d879f9bff5868579 (diff)
downloadlinux-bc9691761818e72527d67c5f9a01cc09df3c04cf.tar.xz
staging/lustre/ldlm: suppress useless lock RPC for layout
In ldlm_lock_decref_internal() when l_lvb_data is freed to reduce memory consumption, LDLM_FL_LVB_READY is not cleared, so later when the lock is reused lvb is not updated. But clearing LDLM_FL_LVB_READY forces layout refetch at each file access, so the better is to remove the optimization. The use case is after a restore in HSM. Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3280 Lustre-change: http://review.whamcloud.com/6268 Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr> Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Peng Tao <tao.peng@emc.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions