Whamcloud - gitweb
b=22244 handle list of locks in ldlm_bl_thread_main properly
authorVitaly Fertman <Vitaly.Fertman@sun.com>
Thu, 24 Jun 2010 20:31:36 +0000 (00:31 +0400)
committerRobert Read <robert.read@oracle.com>
Fri, 25 Jun 2010 17:30:05 +0000 (10:30 -0700)
commitf2360643cbb8136f97ec750547d12c30f88e0d4d
tree8fc516be722ff129c6c5dcdd56db1139f4952f00
parentf96aff96fae1fcb3d06fd40ae4837ba975df12e3
b=22244 handle list of locks in ldlm_bl_thread_main properly

the fix to the original patch includes:
1. ldlm_bl_thread_main() cancels only locks left in the list after
ldlm_cli_cancel_list_local().
2. ldlm_bl_thread_main() and ldlm_cli_cancel_unused_resource() cancel
locks marked as LDLM_FL_BL_AST in the same RPC as others in the list.

i=green
i=johann
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c