summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2011-05-28 15:07:29 +0000
committermckusick <mckusick@FreeBSD.org>2011-05-28 15:07:29 +0000
commit75b483b1f1722f50c988b8968eff3b6c1c77554c (patch)
tree3bdad1d803d13e228549b89cab1d1fb116819155 /sys/ufs
parent711efafb9136817a889237364dff3d79634e8ebd (diff)
downloadFreeBSD-src-75b483b1f1722f50c988b8968eff3b6c1c77554c.zip
FreeBSD-src-75b483b1f1722f50c988b8968eff3b6c1c77554c.tar.gz
Due to a lag in updating the fs_pendinginodes count, we cannot depend
on it to decide whether we should try to reclaim inodes when we run short. Discovered by: Peter Holm
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 9b5425b..5b8f3c8 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -1022,7 +1022,7 @@ dup_alloc:
(*vpp)->v_op = &ffs_vnodeops1;
return (0);
noinodes:
- if (fs->fs_pendinginodes > 0 && reclaimed == 0) {
+ if (reclaimed == 0) {
reclaimed = 1;
softdep_request_cleanup(fs, pvp, cred, FLUSH_INODES_WAIT);
goto retry;
OpenPOWER on IntegriCloud