mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
smbd: Add a explanation for num_aio_requests
We could have used talloc_array_length() Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
a5b1897397
commit
8d4f7e564f
@ -378,6 +378,10 @@ typedef struct files_struct {
|
||||
/* if not NULL, means this is a print file */
|
||||
struct print_file_data *print_file;
|
||||
|
||||
/*
|
||||
* Optimize the aio_requests array for high performance: Never
|
||||
* shrink it, maintain num_aio_requests separately
|
||||
*/
|
||||
unsigned num_aio_requests;
|
||||
struct tevent_req **aio_requests;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user