This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 43e299f Disable cache volume size check for already configured
volumes.
43e299f is described below
commit 43e299ffd25705084f85da6b61472a4a08d100f9
Author: Alan M. Carroll <[email protected]>
AuthorDate: Fri Jun 2 12:33:04 2017 -0500
Disable cache volume size check for already configured volumes.
---
iocore/cache/Cache.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index 5049de3..daa6ea9 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -2686,8 +2686,7 @@ cplist_update()
while (cp) {
for (config_vol = config_volumes.cp_queue.head; config_vol; config_vol =
config_vol->link.next) {
if (config_vol->number == cp->vol_number) {
- off_t size_in_blocks = config_vol->size << (20 - STORE_BLOCK_SHIFT);
- if ((cp->size <= size_in_blocks) && (cp->scheme ==
config_vol->scheme)) {
+ if (cp->scheme == config_vol->scheme) {
config_vol->cachep = cp;
} else {
/* delete this volume from all the disks */
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].