mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
afs: afs_CacheTruncateDaemon wake waiters !too full
When processing afs_CacheTruncateDaemon() if the cache is no longer too full, then wake the waiters. Change-Id: I114341f8a71654b0a064d6dad2a704dd1fa8dbe2 Reviewed-on: http://gerrit.openafs.org/10236 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
13a746abfb
commit
2fb13e7e79
@ -457,8 +457,10 @@ afs_CacheTruncateDaemon(void)
|
||||
if (afs_termState == AFSOP_STOP_TRUNCDAEMON)
|
||||
break;
|
||||
}
|
||||
if (!afs_CacheIsTooFull())
|
||||
if (!afs_CacheIsTooFull()) {
|
||||
afs_CacheTooFull = 0;
|
||||
afs_WakeCacheWaitersIfDrained();
|
||||
}
|
||||
} /* end of cache cleanup */
|
||||
ReleaseWriteLock(&afs_xdcache);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user