[Samba] Direct I/O

Jeremy Allison jra at samba.org
Tue Jan 25 20:59:22 UTC 2022


On Tue, Jan 25, 2022 at 09:55:00PM +0100, Ralph Boehme wrote:
>On 1/25/22 21:45, Jeremy Allison wrote:
>>Hmmm. How to add the in_flags field for the 
>>SMB_VFS_PREAD_SEND/SMB_VFS_PWRITE_SEND ?
>>
>>Both take an fsp, so is this something we should be adding
>>to the files_struct as a structure element (or a one element
>>in the fsp_flags bitfield) or as a separate 'flags' parameter
>>to the VFS calls ?
>I think we should bite the bullet and add the flag as parameter to the 
>VFS calls and not mess with the fsp handle.

I guess for a flag that is settable per-read/write call that makes
sense.



More information about the samba mailing list