Displaying 5 results from an estimated 5 matches for "status_more_entri".
Did you mean:
status_more_entries
2023 Feb 17
1
Missing Files/Missing Folders from an NFS Share
...s://lore.kernel.org/all/CAAmbk-e-YQAPo6QyNB0aJyc9qzUShmEC+x5eTR7wqp1ABWADsg at mail.gmail.com/T/
First I think we need to understand how broken telldir()/seekdir()
is over NFS in this case. Do they work at all ? An alternate fix
would be to change Samba to store the previously read filename
on the STATUS_MORE_ENTRIES case (we've run out of return space)
and then when the enumeration starts again use that stored
filename, rather than doing the SeekDir() to move back to
the just read entry preparing for the next round.
2023 Feb 16
1
Missing Files/Missing Folders from an NFS Share
...doesn't have enough room
to marshall the client response.
No worries, we saved off the 'offset = telldir()' before
doing the readdir that returned filename "m". So we
seek back to the offset before the filename "m" in
this code:
if (NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES)) {
dptr_SeekDir(dirptr, prev_dirpos);
return status;
}
and return the findfirst reply with files a-l.
Now when the listing continues, it'll do so with
filename "m" etc. until the listing is done.
If:
offset = telldir()
seekdir(offset)...
2023 Feb 16
1
Missing Files/Missing Folders from an NFS Share
I'm trying to get to the bottom of where the normal directory functions
differ in results for block storage compared to NFS.
I created a short c script to look at the offsets generated for the
directory when block storage backed in comparison to NFS backed.
block storage backed are always positive:
File: 5050, Offset: 9213006461214587617
File: 6567, Offset: 9218690536865144001
File: 4033,
2002 May 16
2
WinBind does not work well with Rational ClearCase ( bug fix attached :)
Gerald,
No worries.
This patch is required if your using Rational ClearCase and you don't want
everyone to have access to it. It's to fix a brokenness (IMO) within
ClearCase, and maybe other programs. Our windows primary group has 10k+
users...
I will shoot it off to Rational, so they can provide it to there customers.
I was hoping it could be applied to the main tree so I could just
2023 Feb 16
2
Missing Files/Missing Folders from an NFS Share
Ok, starting to make sense now. In order to fix it....
I note that the lower level calls are wrapped in dir.c - eg
dptr_SeekDir(...) wraps SeekDir(...)
this might allow for some code to use array indexes instead of NFS cookies
as noted by Chris Chilvers here for the 3.10 kernel:
https://lore.kernel.org/all/CAAmbk-e-YQAPo6QyNB0aJyc9qzUShmEC+x5eTR7wqp1ABWADsg at mail.gmail.com/T/
> On the