bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-07-20 Thread jeff.liu
Hello All, Below is my patches to isolate the extents scan and fetch functions in a new module to improve its extendibility. It introduce a new file 'src/extent-scan.c' to place those functions, and then call those functions from extents_copy() at copy_reg() to process the regular file copy. I

Re: [coreutils] [PATCH] fadvise: new module providing a simpler interface to posix_fadvise

2010-07-20 Thread Jim Meyering
Pádraig Brady wrote: > To get the same benefits noticed with `sort` > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=dae35bac > I'm applying the same hint to all appropriate utils in the attached. ... > Linux does quite well without this hint, and is getting better: > http://art

Re: [coreutils] [PATCH] fadvise: new module providing a simpler interface to posix_fadvise

2010-07-20 Thread Eric Blake
On 07/20/2010 07:52 AM, Pádraig Brady wrote: > To get the same benefits noticed with `sort` > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=dae35bac > I'm applying the same hint to all appropriate utils in the attached. @@ -238,6 +243,7 @@ wc (int fd, char const *file_x, struct fs

Re: [coreutils] [PATCH] fadvise: new module providing a simpler interface to posix_fadvise

2010-07-20 Thread Pádraig Brady
To get the same benefits noticed with `sort` http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=dae35bac I'm applying the same hint to all appropriate utils in the attached. $ grep -l SEQUENTIAL *.c base64.c cat.c cksum.c comm.c cut.c expand.c fmt.c fold.c join.c md5sum.c nl.c paste.c