1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00
Jeremy Allison 0c952bba1e s3: smbd: In aio_del_req_from_fsp() talloc_free(fsp->aio_requests[]) when fsp->num_aio_requests reaches zero.
The add code in aio_add_req_to_fsp() re-tallocs
this array on demand, and talloc freeing it here
allows it to be used as the parent for a tevent
wait queue, so callers can get notified when
all outstanding aio on an fsp is finished.

We'll deal with any performance issues in
the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2020-03-18 18:03:28 +00:00
..
2019-02-22 12:30:10 +01:00
2019-11-22 23:57:47 +00:00
2020-01-13 21:09:01 +00:00
2019-11-13 00:20:55 +00:00
2020-01-13 21:09:01 +00:00
2020-01-21 22:08:41 +00:00
2020-01-13 21:09:01 +00:00
2020-01-15 21:25:35 +00:00
2020-02-19 09:38:39 +00:00
2019-11-13 00:20:55 +00:00
2019-11-22 23:57:47 +00:00
2019-11-13 00:20:55 +00:00
2020-01-13 21:09:01 +00:00
2020-01-13 21:09:01 +00:00
2020-02-18 21:08:33 +00:00