When the cache will be flushed using CcFlushCache ?

Hi,

I need to flush the cache, I call the CcFlushCache. IFS
documentation says that “the caller must be able to enter the
wait state until all the data has been flushed”. But HOW can the
caller know the moment the data have been flushed ?

Ladislav Zezula


Srpen - sv?tek v?ech ukecan?ch!
Z ka?d?ho va?eho vol?n? minuta zdarma!
Volejte p?es 1020. V?ce na www.volba1020.cz

CcFlushCache is a synchronize function.so,when it returned,the flush is
completed.
but,CcFlushCache is asynchronize when there is some buffer are pinned or
mapped .If you just want to data operation,you can ignore this exception.

Hi,

I need to flush the cache, I call the CcFlushCache. IFS
documentation says that “the caller must be able to enter the
wait state until all the data has been flushed”. But HOW can the
caller know the moment the data have been flushed ?

Ladislav Zezula

–=20
Srpen - sv=E1tek v=B9ech ukecan=FDch!
Z ka=BEd=E9ho va=B9eho vol=E1n=ED minuta zdarma!
Volejte p=F8es 1020. V=EDce na www.volba1020.cz