Messages in this thread | | | Date | Tue, 14 Sep 2021 12:45:24 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH] aio: convert active_reqs into a hashtable |
| |
On Tue, Sep 14, 2021 at 05:46:25AM -0400, Hamza Mahfooz wrote: > Commit 833f4154ed56 ("aio: fold lookup_kiocb() into its sole caller") > suggests that, the fact that active_reqs is a linked-list means aio_kiocb > lookups in io_cancel() are inefficient. So, to get faster lookups (on > average) while maintaining similar insertion and deletion characteristics, > turn active_reqs into a hashtable.
What workload cares about AIO cancellation performance?
| |