From 84f5623f348f5ee0101684f2dc24f685c70a549a Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 16 Jul 2003 06:21:38 +0000 Subject: [PATCH] b=1511 Add a SIGNAL_MASK_ASSERT() function to try to nail down whether the lock magic is already trashed before we enter Lustre --- lustre/llite/iod.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 1.8.3.1