[PATCH 3/5] Let LVM determine alignment for PV data areas. (#962961)

Vratislav Podzimek vpodzime at redhat.com
Fri Jun 6 06:34:43 UTC 2014


On Thu, 2014-06-05 at 12:45 -0500, David Lehman wrote:
> ---
>  storage/devicelibs/lvm.py | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
> index c4ad88d..82719ef 100644
> --- a/storage/devicelibs/lvm.py
> +++ b/storage/devicelibs/lvm.py
> @@ -178,11 +178,8 @@ def lvm(args, progress=None):
>      raise LVMError(msg)
>  
>  def pvcreate(device, progress=None):
> -    # we force dataalignment=1024k since we cannot get lvm to tell us what
> -    # the pe_start will be in advance
>      args = ["pvcreate"] + \
>              config_args + \
> -            ["--dataalignment", "1024k"] + \
>              [device]
>  
>      try:
Should this be ported to rhel7-branch/master and libblockdev too?

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list