Whamcloud - gitweb
LU-8047 llite: optimizations for not granted lock processing 01/35001/3
authorAndrew Perepechko <c17827@cray.com>
Thu, 7 Mar 2019 20:18:45 +0000 (12:18 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Jun 2019 03:56:46 +0000 (03:56 +0000)
commitd543393c7b99ee8482e4cbda36dfe4f54aa15bb6
tree4df986ca49f14dae07a6d899d25a443299dce005
parent66d626f5e72115a36808980f8a8a2cc78c9611cc
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.

Lustre-change: https://review.whamcloud.com/19665
Lustre-commit: 2c126c5a73edea434456c6c335772daaac717f2f

Change-Id: Ic69c5f02f71c14db4b9609677d102dd2993f4feb
Seagate-bug-id: MRP-3409
Signed-off-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35001
Tested-by: Jenkins
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