<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p></p>
<div>I don't see any way to automatically mount with discard. On a test server I can remount with discard. I also see a commit removing discards by default:</div>
<div>--</div>
<div>commit b6837a0629ec1c8417ef0dda64a7aada634a6d8c</div>
<div>Author: Konstantin Khorenko <khorenko@virtuozzo.com></div>
<div>Date: Mon May 27 15:57:18 2019 +0300</div>
<div><br>
</div>
<div> Revert "ext4: Module parameter to disable discard mount param on ploop"</div>
<div> </div>
<div> This reverts commit e805a2a7f746da36c475e651b93d224938b1bb82.</div>
<div> </div>
<div>--</div>
<div><br>
</div>
<div>It looks like we are limited to <span style="font-size:12pt">prl_disk_tool compact for ploop on containers still.</span></div>
<div><br>
</div>
<br>
<p></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> users-bounces@openvz.org <users-bounces@openvz.org> on behalf of Jonathan Wright <jonathan@knownhost.com><br>
<b>Sent:</b> Wednesday, September 25, 2019 12:50:44 PM<br>
<b>To:</b> users@openvz.org<br>
<b>Subject:</b> Re: [Users] Native Ploop Discard Support in 7.0.11</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">I was wondering if anyone had any input on this? I was thinking maybe
<br>
it's just a matter of telling vz to mount the ploop device with the <br>
discard flag for ext4 but I can't find a way to pass any mounting flags <br>
to vz when starting containers either.<br>
<br>
On 8/26/2019 5:51 PM, Jonathan Wright wrote:<br>
> I noticed this line in the changelogs:<br>
><br>
> ---<br>
> Native discard support in ploop enabling automatic discard requests on <br>
> all ext4 filesystems over ploop block devices, except containers <br>
> running on Virtuozzo Storage.<br>
> ---<br>
><br>
> How do we go about enabling this? It doesn't seem to be enabled by <br>
> default as part of the update. Is it the "--autocompact" flag for <br>
> prlctl set? If so, this doesn't appear to add/modify anything in <br>
> ve.conf. If this is the correct setting, where is it actually set, ie <br>
> how could this be changed aside from the --autocompact flag?<br>
><br>
_______________________________________________<br>
Users mailing list<br>
Users@openvz.org<br>
<a href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a><br>
</div>
</span></font>
</body>
</html>