[OpenAFS-devel] Patches for Openafs compression support Part II

Matthew Andrews matt@slackers.net
Wed, 12 Jan 2005 10:49:17 -0800


Have you looked at all at how dificult to gat the afs backup 
utils(backup, butc) to take advantage of this?

Sven Oehme wrote:

>
> Hi ,
>
> here is an update to the compression support and some answers to 
> questions :-)
>
> Purpose:
> - patch for versions of openafs 1.2.13 and 1.3.77 to support gzip and 
> bz2 compression at "vos dump", "vos release", "vos restore" and "vos 
> move".
>
> we still haven't prepared the changes for WinNT (will come with next 
> update
> - haven't done any changes to libadmin (AFS API) yet.
> - these patches are full patches, not upgrade. Has to be applied on the
> original version (of src/volser directory).
>
> Installation:
>        cd openafs-1.2.13
> (where the src folder and configure script is in openafs-1.2.13)
>        patch -p1 <../openafs-1.2.13z.patch
>        [recompile the source]
>
> Modified binaries are: "vos" and "volserver"
> The command "vos" has the new flag "-z [1..9]" and "-bz2 [1..9]", and 
> volserver has the support with its modified interface.
> The compression support is directly over the RPC call layer.
> The modified binaries must work fully with the unpatched openafs 
> versions.
>
> Implementation: At some places [dumpstuff.c, vos.c] rx_Read and 
> rx_Write has been replaced to the new wrapping functions which support 
> compression. See "ziorx.[c,h]".
>
>
>
> Sven
>
> -------------------------------------------------------------------------------------------------------------------------
> Dept. A141,  TG/SSG EMEA AIS Strategy and Architecture
> Development Leader Stonehenge
> IBM intranet ---> http://w3.ais.mainz.de.ibm.com/stonehenge/
> internet ---> http://www-5.ibm.com/services/de/its/filestore.html
> Phone (+49)-6131-84-3151
> Fax      (+49)-6131-84-6708
> Mobil   (+49)-171-970-6664
> E-Mail : oehmes@de.ibm.com
>
>
> *Mitch Collinsworth <mitch@ccmr.cornell.edu>*
> Sent by: openafs-devel-admin@openafs.org
>
> 04/01/2005 19:31
>
> 	
> To
> 	Sven Oehme/Germany/IBM@IBMDE
> cc
> 	openafs-devel@openafs.org
> Subject
> 	Re: [OpenAFS-devel] Patches for Openafs compression support
>
>
>
> 	
>
>
>
>
>
>
> On Wed, 22 Dec 2004, Sven Oehme wrote:
>
> > we have started a new project to enhance the data transfer (first on
> > volume level) to slow link connected sites.
> > we implemented the gzip algorithm and will add bzip2 compression later.
> >
> > i have attached two patches for Openafs 1.2.13 and 1.3.77 to add gzip
> > compression to vos dump , release and restore
>
> Question:  How is it decided when to compress and when to not?  Does
> the invoker have to request it, is it done by default, etc?
>
> -Mitch
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>