Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C592FD98C for ; Wed, 7 Nov 2012 17:17:43 +0000 (UTC) Received: (qmail 89541 invoked by uid 500); 7 Nov 2012 17:17:43 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 89512 invoked by uid 500); 7 Nov 2012 17:17:43 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 89497 invoked by uid 99); 7 Nov 2012 17:17:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 17:17:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shadowsor@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 17:17:36 +0000 Received: by mail-we0-f175.google.com with SMTP id t44so797739wey.6 for ; Wed, 07 Nov 2012 09:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sWow4SMtBGuuP0sJ+baTMgI8yk61Q4LSkqjHZyzzGTs=; b=IpHvzZcGwjugEITtyWgOvkSNGwiB01cTKZELgn7aKxdea7znpzD991xC3B5V+gBvj4 uoBhd1qnFSHV8OPNAar57Sj0Pb9zOo9/Pj7WQPhaIOK2c+a6cv+JZ9aRBcX/nDxGZ5eh 3TMK7hrZUoxP7kSeYDBwiPb14joVCZbE0Xs16idvys04a2O5zqKEPPpNMrfBG9mbHZAP uIXTQC4v5ENMhRccheQC9VkAi32k0kZgs4IuMqsSAVqGXPkICGsOPgziEzhGOhHHGph8 svwMQF9vv3xT9GjWQ6yU1cBHgv+ZiEcuw2VC7Y9Eb3WmOBHSTTeibpl1JKOtFwr97hBZ 7rXA== MIME-Version: 1.0 Received: by 10.181.11.167 with SMTP id ej7mr8916000wid.11.1352308635442; Wed, 07 Nov 2012 09:17:15 -0800 (PST) Received: by 10.216.145.221 with HTTP; Wed, 7 Nov 2012 09:17:15 -0800 (PST) Date: Wed, 7 Nov 2012 10:17:15 -0700 Message-ID: Subject: template copy to primary From: Marcus Sorensen To: "cloudstack-dev@incubator.apache.org" Content-Type: multipart/alternative; boundary=f46d043c80f2d79d7804cdeae355 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c80f2d79d7804cdeae355 Content-Type: text/plain; charset=ISO-8859-1 Again, forgive my ignorance if I don't understand how this works for all storage types, but it seems that when a template is first used in a cluster we copy the template to primary storage first and use that for all subsequent. Should we add an enhancement to be able to tag templates that should be cached on primary vs ones that should be copied direct from secondary storage whenever used? I'm thinking about scale, if I've got 20 templates that are used a lot by everyone, then I want those cached, but if my users are making 1000 templates and only use each once or twice, I don't want them to go to my primary storage. Especially with CLVM or another raw style storage where we actually use the whole physical size of the template. --f46d043c80f2d79d7804cdeae355--