From: phil Date: Wed, 16 Jul 2003 06:21:38 +0000 (+0000) Subject: b=1511 X-Git-Tag: v1_7_110~2^11~100 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=84f5623f348f5ee0101684f2dc24f685c70a549a;p=fs%2Flustre-release.git b=1511 Add a SIGNAL_MASK_ASSERT() function to try to nail down whether the lock magic is already trashed before we enter Lustre --- diff --git a/lustre/llite/iod.c b/lustre/llite/iod.c index b7fd66f..c30ef8a 100644 --- a/lustre/llite/iod.c +++ b/lustre/llite/iod.c @@ -159,6 +159,7 @@ static void ll_writeback(struct inode *inode, struct obdo *oa, inode->i_ino, inode->i_generation, inode, ((llwp->npgs-1) << PAGE_SHIFT) + llwp->pga[llwp->npgs-1].count); + SIGNAL_MASK_ASSERT(); /* XXX BUG 1511 */ set = ptlrpc_prep_set(); if (set == NULL) { CERROR ("Can't create request set\n"); @@ -395,6 +396,7 @@ int ll_batch_writepage(struct inode *inode, struct obdo *oa, struct page *page) int rc = 0; ENTRY; + SIGNAL_MASK_ASSERT(); /* XXX BUG 1511 */ old_flags = current->flags; current->flags |= PF_MEMALLOC; rc = ll_alloc_brw(inode, &llwp);