From 74be5a39bb59d21258319e8180faa2f1a1a1c94b Mon Sep 17 00:00:00 2001 From: zab Date: Fri, 18 Apr 2003 18:27:08 +0000 Subject: [PATCH] - make a few debugging cases less chatty - get a PR lock to ->eof in ll_file_read to purge extending writes and make them visible to our post-enqueue getattr --- lustre/llite/iod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/llite/iod.c b/lustre/llite/iod.c index 33ef519..c3059d8 100644 --- a/lustre/llite/iod.c +++ b/lustre/llite/iod.c @@ -189,7 +189,8 @@ static void ll_writeback( struct inode *inode, for ( i = 0 ; i < llwp->npgs ; i++) { struct page *page = llwp->pga[i].pg; - CDEBUG(D_CACHE, "cleaning page %p\n", page); + CDEBUG(D_CACHE, "finished page %p at index %lu\n", page, + page->index); LASSERT(PageLocked(page)); ll_remove_dirty(inode, page->index, page->index); unlock_page(page); -- 1.8.3.1