aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2011-05-28 15:07:29 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2011-05-28 15:07:29 +0000
commit1508294bb6a940770acc71d6f39a7ce412f9253c (patch)
tree3bdad1d803d13e228549b89cab1d1fb116819155 /sys/ufs
parent27a43b2e515bc2f8f34782b8e14e04cd2ec9471c (diff)
downloadsrc-1508294bb6a940770acc71d6f39a7ce412f9253c.tar.gz
src-1508294bb6a940770acc71d6f39a7ce412f9253c.zip
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
Notes
Notes: svn path=/head/; revision=222422
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 9b5425b5940a..5b8f3c837a80 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;