Hi all !
In my encryption filter driver I save per-file metadata in its extended
attribute. On the first IRP_MJ_CREATE IO the metadata is
restored and saved in the hash table (one entry per file). The metadata miss
means that the file is not encrypted.
Then only paging IOs are encrypted/decrypted.
My question is about Stream FO. Is it possible that Read/Write is sent on
Stream FO before the first IRP_MJ_CREATE ?
If yes, I have to restore the metadata before processing Stream FO
Read/Write IO. Can it cause deadlock? What are recommendations for
this case .
Thanks,
Dani