- in sanity-lmv added correct cleanup stage.
ldlm_policy_data_t *policy,
struct ldlm_res_id *res_id)
{
- int flags = LDLM_FL_LOCAL_ONLY | LDLM_FL_ATOMIC_CB;
+ int flags = LDLM_FL_ATOMIC_CB;
int rc;
LASSERT(ns != NULL);
* won't see this flag and call l_blocking_ast */
lock->l_flags |= LDLM_FL_CBPENDING;
- /* We can't re-add to l_lru as it confuses the refcounting in
+ /* We can't re-add to l_lru as it confuses refcounting in
* ldlm_lock_remove_from_lru() if an AST arrives after we drop
* ns_lock below. We use l_tmp and can't use l_pending_chain as
* it is used both on server and client nevertheles bug 5666
## this test is very time-consuming, don't run it by default
#run_test 4a " FIDS/ nlink overflow test ============================="
-
TMPDIR=$OLDTMPDIR
TMP=$OLDTMP
HOME=$OLDHOME
log "cleanup: ======================================================"
if [ "`mount | grep ^$NAME`" ]; then
- rm -rf $DIR/[Rdfs][1-9]*
- if [ "$I_MOUNTED" = "yes" ]; then
- sh llmountcleanup.sh || error
- fi
+ rm -rf $DIR/[Rdfs][1-9]*
+fi
+if [ "$I_MOUNTED" = "yes" ]; then
+ cleanupall -f || error "cleanup failed"
fi
echo '=========================== finished ==============================='
rm -rf $DIR/[Rdfs][1-9]*
fi
if [ "$I_MOUNTED" = "yes" ]; then
- cleanupall -f || error "cleanup failed"
+# cleanupall -f || error "cleanup failed"
fi