Date: Tue, 5 Dec 2017 14:25:41 -0700 From: Alan Somers <asomers@freebsd.org> To: Julian Elischer <julian@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r282485 - head/lib/libc/gen Message-ID: <CAOtMX2igx_4mXc_wt9WD8B-AHCPc6FY7PT12Xs1TUiSt%2BFAP2A@mail.gmail.com> In-Reply-To: <201505051452.t45EqXXv027613@svn.freebsd.org> References: <201505051452.t45EqXXv027613@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 5, 2015 at 8:52 AM, Julian Elischer <julian@freebsd.org> wrote: > Author: julian > Date: Tue May 5 14:52:33 2015 > New Revision: 282485 > URL: https://svnweb.freebsd.org/changeset/base/282485 > > Log: > Tweak seekdir, telldir and readdir so that when htere are deletes going > on, > as seek to teh last location saved will still work. This is needed for > Samba > to be able to correctly handle delete requests from windows. This does > not > completely fix seekdir when deletes are present but fixes the worst of > the > problems. The real solution must involve some changes to the API for eh > VFS > and getdirentries(2). > > Obtained from: Panzura inc > MFC after: 1 week > > Modified: > head/lib/libc/gen/directory.3 > head/lib/libc/gen/readdir.c > head/lib/libc/gen/rewinddir.c > head/lib/libc/gen/telldir.c > head/lib/libc/gen/telldir.h > Do you remember what the exact problem you had was? I'm trying to write a regression test for it, but I'm having trouble guessing what the bug was. And was _fixtelldir() related to the issue with deletes, or was that to fix a separate bug? -Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2igx_4mXc_wt9WD8B-AHCPc6FY7PT12Xs1TUiSt%2BFAP2A>