]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: add cm_BPlusDirEnumBulkStatOne
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 28 Feb 2011 01:27:33 +0000 (01:27 +0000)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 5 Sep 2011 04:35:57 +0000 (21:35 -0700)
commit0954e0ef9a34ca74886900a938f091e5bf9befd9
treef8ca312fe60c5cf8ef5013a4a9cef7c70ed560bd
parent1a0dd342cc21a307e568efdc2b7ae40fda310edb
Windows: add cm_BPlusDirEnumBulkStatOne

cm_BPlusDirEnumBulkStatOne() is similar to cm_BPlusDirEnumBulkStat()
except that it is used to obtain the status info for one FID in
particular via RXAFS_InlineBulkStat, the parent directory FID, and
up to 48 other FIDs in the same directory which do not currently
have a registered callback.

The parent directory is included to prevent the directory FID
callback from expiring when a directory such as /afs/andrew.cmu.edu/usr/
that requires more status objects then exist in the cache are continuously
recycled.

Up to 48 other FIDs are requested since in most cases on Windows
every entry in a directory is required for an enumeration.

Change-Id: Ic53134498ac0e776232a6f9c97cdb26367959546
Reviewed-on: http://gerrit.openafs.org/5345
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_btree.c
src/WINNT/afsd/cm_btree.h