Whamcloud - gitweb
LU-8047 llite: optimizations for not granted lock processing 65/19665/13
authorAndrew Perepechko <c17827@cray.com>
Thu, 7 Mar 2019 20:18:45 +0000 (12:18 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:42:46 +0000 (03:42 +0000)
commit2c126c5a73edea434456c6c335772daaac717f2f
treeeeebaf0b50e83c0ed8ce3c686983de0c900184b0
parent3e4c3fdc9afea80832569b6466fba7c3bec0ebe3
LU-8047 llite: optimizations for not granted lock processing

This patch removes ll_md_blocking_ast() processing for
not granted locks. The reason is ll_invalidate_negative_children()
can slow down I/O significantly without a reason if there
are thousands or millions of files in the directory
cache.

Change-Id: Ic69c5f02f71c14db4b9609677d102dd2993f4feb
Seagate-bug-id: MRP-3409
Signed-off-by: Andrew Perepechko <c17827@cray.com>
Reviewed-on: https://review.whamcloud.com/19665
Tested-by: Jenkins
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_inodebits.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_plain.c
lustre/ldlm/ldlm_request.c
lustre/llite/namei.c
lustre/mdt/mdt_lvb.c
lustre/osc/osc_lock.c
lustre/osc/osc_request.c