diff options
author | Artem Bityutskiy <dedekind@infradead.org> | 2006-12-19 14:45:23 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-12-19 15:20:16 +0100 |
commit | aba54da3d05e910199ea8255992c244c9abadd91 (patch) | |
tree | fc634ff11819f2f94ef23478d6471757dc21c6d6 /fs/jffs2/scan.c | |
parent | [MTD] Nuke IVR leftovers (diff) | |
download | linux-aba54da3d05e910199ea8255992c244c9abadd91.tar.xz linux-aba54da3d05e910199ea8255992c244c9abadd91.zip |
[JFFS2] add cond_resched() when garbage collecting deletion dirent
We observe soft lockups when doing heavy test which creates
directory with a lot of direntries and deletes them. This
cycle is the reason fo this. Make it nicer and add cond_resched()
inside of it.
Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/scan.c')
0 files changed, 0 insertions, 0 deletions