[Samba] Direct I/O

Ralph Boehme slow at samba.org
Tue Jan 25 21:10:04 UTC 2022

On 1/25/22 22:02, Christof Schmitt wrote:
> Strictly speaking, WRITE_THROUGH would match the SYNC flag (write the
> data to stable storage). 


> WRITE_UNBUFFERED implies writing to storage,
> but ensure that there is no data buffered, which has no Linux/POSIX
> equivalent call (to my knowledge).

That would be open() flag O_DIRECT.

Wait... so there's no RWF_DIRECT? Indeed, drat! Not sure how RWF_HIPRI 


Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20220125/d4451424/OpenPGP_signature.sig>

More information about the samba mailing list