Re: pdflush stuck in D state with v2.6.24-rc1-192-gef49c32

From: Fengguang Wu
Date: Thu Nov 01 2007 - 21:33:48 EST


On Thu, Nov 01, 2007 at 09:14:14AM -0500, Florin Iucha wrote:
> On Thu, Nov 01, 2007 at 09:03:33PM +0800, Fengguang Wu wrote:
> > Or will the system or fs size/age make any difference? If you happen
> > to have a spare/swap partition, could you make a new reiserfs and
> > mount it and copy several less-than-4KB files into it and wait for 30s
> > and see what happen to pdflush?
>
> I will try that with a USB disk - I hope that won't make a difference.

Thank you. I guess a reiserfs on loop file would also be OK.

> > btw, what's the exact kernel version you are running?
>
> I noticed it with the kernel in the $SUBJECT, as reported by 'git
> describe'. I have pulled in new changesets since then.

And with the following patch applied?

---
fs/reiserfs/stree.c | 3 ---
1 file changed, 3 deletions(-)

--- linux-2.6.24-git17.orig/fs/reiserfs/stree.c
+++ linux-2.6.24-git17/fs/reiserfs/stree.c
@@ -1458,9 +1458,6 @@ static void unmap_buffers(struct page *p
}
bh = next;
} while (bh != head);
- if (PAGE_SIZE == bh->b_size) {
- cancel_dirty_page(page, PAGE_CACHE_SIZE);
- }
}
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/