Whamcloud - gitweb
Fix (or a workaround that will hide the real bug) for bug 322.
authoradilger <adilger>
Thu, 7 Nov 2002 23:23:37 +0000 (23:23 +0000)
committeradilger <adilger>
Thu, 7 Nov 2002 23:23:37 +0000 (23:23 +0000)
commita97ba795868a70f6a034ac0337d3ab046d556811
tree49f7d3bcee1889dbeb3f6e1e90c317cc2b784507
parent78c1a46bc22191158aba15a9160e25f81cd1b962
Fix (or a workaround that will hide the real bug) for bug 322.

We are calling mdc_blocking_ast() to clean up an inode that is already
being cleaned up elsewhere.  This is the result of ldlm_cli_cancel_unused()
being called from two places at the same time:
- ll_prepare_recovery()->prepare_mdc()->ldlm_cli_cancel_unused()
- ll_clear_inode()->mdc_cancel_unused()->ldlm_cli_cancel_unused()

There is still a small race where the ll_clear_inode() RPC could have
completed and "inode" is garbage, but since we are in recovery this
is highly unlikely.
lustre/mdc/mdc_request.c