[Devel] PLOOP enforcing inode_ratio
Sergey Bronnikov
sergeyb at openvz.org
Tue Jun 16 06:39:02 PDT 2015
Francisco,
we use pull requests instead mail list for submitting patches to userspace.
Please follow https://openvz.org/Userspace_patches
On 15:19 Fri 12 Jun , Francisco Dias wrote:
> Hello devs,
>
> https://src.openvz.org/projects/OVZ/repos/ploop/browse/lib/fsutils.c#133
>
> This makes /etc/mke2fs.conf not be listened to, which causes issues
> with "vzctl convert" and such not applying the inode_ratio a user
> wants.
>
> --- fsutils.orginal.c 2015-06-12 15:06:09.389272552 -0700
> +++ fsutils.c 2015-06-12 15:06:23.033456453 -0700
> @@ -130,9 +130,8 @@
> * independly on the initial image size
> */
> argv[6] = "-Jsize=128";
> - argv[7] = "-i16384"; /* 1 inode per 16K disk space */
> - argv[8] = part_device;
> - argv[9] = NULL;
> + argv[7] = part_device;
> + argv[8] = NULL;
>
> if (run_prg(argv))
> return SYSEXIT_MKFS;
>
>
> Thanks,
>
> Francisco
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://lists.openvz.org/mailman/listinfo/devel
--
OpenVZ survey http://goo.gl/forms/orYmy0SjFB
More information about the Devel
mailing list