Re: [PATCH] fs: aio: Transition from Linked List to Hash Table for Active Request Management in AIO
From: Mohammed Anees
Date: Wed Nov 06 2024 - 05:58:14 EST
> Well, I'd say that calling io_cancel() isn't really frequent operation. Or
> are you aware of any workload that would be regularly doing that? Hence
> optimizing performance for such operation isn't going to bring much benefit
> to real users. On the other hand the additional complexity of handling
> hashtable for requests in flight (although it isn't big on its own) is
> going to impact everybody using AIO. Hence I agree with Matthew that
> changes like you propose are not a clear win when looking at the bigger
> picture and need good justification.
Makes sense to me, the added complexity may not be worth the
marginal performance gain. Thanks for helping me with this!