From: David Teigland Date: Mon, 25 Jun 2012 18:48:05 +0000 (-0500) Subject: dlm: fix missing dir remove X-Git-Tag: v3.6-rc1~84^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96006ea6d4eea73466e90ef353bf34e507724e77;p=pandora-kernel.git dlm: fix missing dir remove I don't know exactly how, but in some cases, a dir record is not removed, or a new one is created when it shouldn't be. The result is that the dir node lookup returns a master node where the rsb does not exist. In this case, The master node will repeatedly return -EBADR for requests, and the lock requests will be stuck. Until all possible ways for this to happen can be eliminated, a simple and effective way to recover from this situation is for the supposed master node to send a standard remove message to the dir node when it receives a request for a resource it has no rsb for. Signed-off-by: David Teigland --- Reading git-diff-tree failed