Re: diff: improving msdosfs write speed for large files

2012-04-05 Thread Mike Belopuhov
On Thu, Apr 5, 2012 at 9:21 AM, Alexander Polakov wrote: > * Mike Belopuhov [120404 17:51]: >> i agree that this is a great find. i don't really like the diff though. >> i see no point in introducing this macro. what do others think? > > Your diff looks better to me. > the diff is in. thanks f

Re: diff: improving msdosfs write speed for large files

2012-04-05 Thread Alexander Polakov
* Mike Belopuhov [120404 17:51]: > i agree that this is a great find. i don't really like the diff though. > i see no point in introducing this macro. what do others think? Your diff looks better to me. > Index: msdosfs/denode.h > ===

Re: diff: improving msdosfs write speed for large files

2012-04-04 Thread Kenneth R Westerback
On Wed, Apr 04, 2012 at 03:51:38PM +0200, Mike Belopuhov wrote: > On Wed, Apr 04, 2012 at 14:42 +0400, Alexander Polakov wrote: > > This is a diff from NetBSD pr.34583: > > http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34583 > > > > Quoting the author: > > > > "I noticed that when

Re: diff: improving msdosfs write speed for large files

2012-04-04 Thread Mike Belopuhov
On Wed, Apr 04, 2012 at 14:42 +0400, Alexander Polakov wrote: > This is a diff from NetBSD pr.34583: > http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34583 > > Quoting the author: > > "I noticed that when writing large file (hundreds of megabytes) > to an msdos disk, the wr

Re: diff: improving msdosfs write speed for large files

2012-04-04 Thread Alexander Polakov
* Alexander Hall [120404 16:16]: > Alexander Polakov wrote: > >tests: > > > >w/o the patch: > > time cp huge.file /mnt/storage/ > > 4m5.87s real 0m0.04s user 0m17.56s system > > > >w/the patch: > > time cp huge.file /mnt/storage/ > > 2m22.48s real 0m0.02s user 0m45.30s system

Re: diff: improving msdosfs write speed for large files

2012-04-04 Thread Alexander Hall
Alexander Polakov wrote: >This is a diff from NetBSD pr.34583: >http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34583 > >Quoting the author: > > "I noticed that when writing large file (hundreds of megabytes) > to an msdos disk, the writing speed to a file decreases with the

diff: improving msdosfs write speed for large files

2012-04-04 Thread Alexander Polakov
This is a diff from NetBSD pr.34583: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34583 Quoting the author: "I noticed that when writing large file (hundreds of megabytes) to an msdos disk, the writing speed to a file decreases with the file length. Si