Re: [PATCH][RFT] smbfs bugfixes for 2.4.4

Xuan Baldauf (xuan--lkml@baldauf.org)
Wed, 23 May 2001 00:57:47 +0200


Urban Widmark wrote:

> On Mon, 21 May 2001, Xuan Baldauf wrote:
>
> > That is annoying, because it heavily slows down bulk transfers of small
> > writes, like automatically unzipping a new mozilla build from the linux box to
> > the windows box. Every write of say 100 bytes is implemented as
> >
> > send write req
> > recv write ack
> > send flush req
> > sync to disk (on the windows machine)
> > recv flush ack
>
> The only other way I have found so far to get it to return the right file
> size is to do a "seek-to-end". That still means an extra SMB but it avoids
> the very painful "sync to disk".
>
> Fortunately the seek is only necessary when refreshing inode info, on a
> "win95" server, on a file that is open and that we have written to.

Maybe it is also a workaround for the problem where changes on the windows side are not reflected?

>
>
> This should be significantly better, but still works with my testcases.
> patch vs 2.4.5-pre4, please test.
>
> /Urban
>

[...patch...]

Is it possible to resend the patch in mime format or publish it somewhere accessible by an URL? Netscape Messenger
creates spaces everywhere where tabs should be :-(

Xuân.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/