[NTOSKRNL] Implement support for deferred writes in Cc.
authorPierre Schweitzer <pierre@reactos.org>
Tue, 23 Jan 2018 21:56:23 +0000 (22:56 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 23 Jan 2018 22:25:26 +0000 (23:25 +0100)
commit9a07c71eef55f16fd64ad01821d7798f8f89944b
tree4b9c0411f70074610943e0eda17a4d874a56fd1f
parent07e6e9c9c1415385edf7fb6ad5f503b88db8b047
[NTOSKRNL] Implement support for deferred writes in Cc.
Namely, implement CcCanIWrite() (very basic, and likely wrong).
And implement CcDeferWrite() which will queue the write operation.

In CciLazyWriter() (which may be renamed CcWorkerThread() ;-)),
handle the queued write operations one by one. This is likely
not to be accurate, but, given we have only on FS supporting
this for now (NFS / RDBSS / Shares), this is OK.

CORE-14235
ntoskrnl/cc/copy.c
ntoskrnl/cc/view.c
ntoskrnl/include/internal/cc.h