EldoS | Feel safer!

Software components for data protection, secure storage and transfer

MaxReadWriteBlockSize issue

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#27708
Posted: 12/18/2013 10:25:10
by Richard Hauer (Basic support level)
Joined: 12/05/2013
Posts: 26

I'm setting

Code
cbfs.MaxReadWriteBlockSize = 4 * 1024 * 1024; // 4MB


but OnWriteFile still sends chunks of 65536 bytes.

Am I missing something?
#27709
Posted: 12/18/2013 10:31:06
by Eugene Mayevski (EldoS Corp.)

As the name suggests, it's *Max* size, not minimal. If the application writes data byte by byte, you'll get this data as it is passed from the application, i.e. byte by byte.

File caching should have grouped this data into larger blocks. Don't know but it's possible that the application performs file flush after each block.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 672 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!