diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 2011-05-28 15:07:29 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2011-05-28 15:07:29 +0000 |
commit | 1508294bb6a940770acc71d6f39a7ce412f9253c (patch) | |
tree | 3bdad1d803d13e228549b89cab1d1fb116819155 | |
parent | 27a43b2e515bc2f8f34782b8e14e04cd2ec9471c (diff) | |
download | src-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
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 2 |
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; |