On 3/30/23 8:53 AM, Pavel Begunkov wrote: > Updating registered files and buffers is a very slow operation, which > makes it not feasible for workloads with medium update frequencies. > Rework the underlying rsrc infra for greater performance and lesser > memory footprint. > > The improvement is ~11x for a benchmark updating files in a loop > (1040K -> 11468K updates / sec). > > The set requires a couple of patches from the 6.3 branch, for that > reason it's an RFC and will be resent after merge. Looks pretty sane to me, didn't find anything immediately wrong. I do wonder if we should have a conditional uring_lock helper, we do have a few of those. But not really related to this series, as it just moves one around. -- Jens Axboe