Re: [PATCH] savedir: optionally produce ordered directory list

2014-02-13 Thread Paul Eggert
On 02/13/2014 10:30 AM, Sergey Poznyakoff wrote: Any objections to pushing the latest version of this patch to git head? Thanks, it looks good to me. Maybe also fold in the attached minor change, which simplifies the code and which I don't think will hurt performance significantly. But it's n

Re: [PATCH] savedir: optionally produce ordered directory list

2014-02-13 Thread Sergey Poznyakoff
Hi, Any objections to pushing the latest version of this patch to git head? Regards, Sergey

Re: [PATCH] savedir: optionally produce ordered directory list

2014-02-13 Thread Sergey Poznyakoff
Hi Ludovic, > FWIW I think it’s very important that tar --sort=name remains the > default, as it guarantees that archive production is deterministic. Actually, the default is not to sort directory entries at all: tar stores them in the same order as returned by the underlying system calls. I don'

Re: [PATCH] savedir: optionally produce ordered directory list

2014-02-13 Thread Ludovic Courtès
Hi, Sergey Poznyakoff skribis: > According to [1], using directory lists ordered by inode can speed up > tar archivation by up to 40% on ext[34] filesystems (confirmed by my own > measurements). Please take a look at the attached patch. Is it OK > to apply? FWIW I think it’s very important th