Whamcloud - gitweb
Add new ->l_weigh_ast() call-back to ldlm_lock. It is called by
authornikita <nikita>
Sat, 18 Oct 2008 17:07:21 +0000 (17:07 +0000)
committernikita <nikita>
Sat, 18 Oct 2008 17:07:21 +0000 (17:07 +0000)
commit6098ea781eca0a82ae3c707c265079ebcfb31392
tree469876f52fcf390628f23ed6185e17f93d064611
parent7d329df8f801883b6013c306c2d9e37fc1dc3ad4
Add new ->l_weigh_ast() call-back to ldlm_lock. It is called by
ldlm_cancel_shrink_policy() to estimate lock "value", instead of hard-coded
`number of pages' logic.
b=16450
lustre/ChangeLog
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_request.c
lustre/liblustre/dir.c
lustre/liblustre/super.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/mdc/mdc_locks.c
lustre/mdt/mdt_reint.c
lustre/mgc/mgc_request.c