3 ms·
The problem is that if one part of samba is sending a file while another is reading, there’s no good way to coordinate that because the writer doesn’t know when
by vlovich123 4y ago
The problem is that if one part of samba is sending a file while another is reading, there’s no good way to coordinate that because the writer doesn’t know when the reader is finished. Thus you end up potentially changing the page cache partway through a send. Opening the file in direct_io for writing though would probably mitigate that concern provided you combined that with io_uring so that your performance didn’t crater