Date: Wed, 1 Aug 2007 18:30:12 +0200 From: Remko Lodder <remko@elvandar.org> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. Message-ID: <20070801163012.GA7038@elvandar.org> In-Reply-To: <20070801162814.GA52304@crodrigues.org> References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 01, 2007 at 12:28:14PM -0400, Craig Rodrigues wrote: > On Wed, Aug 01, 2007 at 04:58:49PM +0200, Peter wrote: > > I searched google for some answers and found that this is a more or less > > common problem. I found a PR on this but that was back in 4.10-RELEASE and > > I'm running 6.2-RELEASE. http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 > > > > This also describes my problem pretty well: > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089471.html > > Does this patch help? > > -- > Craig Rodrigues > rodrigc@crodrigues.org > Index: smbfs_smb.c > =================================================================== > RCS file: /home/ncvs/src/sys/fs/smbfs/smbfs_smb.c,v > retrieving revision 1.15 > retrieving revision 1.16 > diff -u -u -r1.15 -r1.16 > --- smbfs_smb.c 4 May 2005 15:05:46 -0000 1.15 > +++ smbfs_smb.c 22 Nov 2005 07:13:00 -0000 1.16 > @@ -1224,8 +1224,10 @@ > return error; > if ((error = md_get_uint16le(mdp, &tw)) != 0) > return error; > - if (ctx->f_ecnt == 0) > + if (ctx->f_ecnt == 0) { > + ctx->f_flags |= SMBFS_RDD_EOF | SMBFS_RDD_NOCLOSE; > return ENOENT; > + } > ctx->f_rnameofs = tw; > mdp = &t2p->t2_rdata; > if (mdp->md_top == NULL) { > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" Hey both, I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in just a few minutes and I dont see any problems passing by.. -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070801163012.GA7038>