On Sat, 28 May 2022 09:51:09 +0800, Xiaoguang Wang wrote: > io_file_bitmap_get() returns a free bitmap slot, but if it isn't > used later, such as io_queue_rsrc_removal() returns error, in this > case, we should not update alloc_hint at all, which still should > be considered as a valid candidate for next io_file_bitmap_get() > calls. > > To fix this issue, only update alloc_hint in io_file_bitmap_set(). > > [...] Applied, thanks! [1/1] io_uring: defer alloc_hint update to io_file_bitmap_set() commit: e2d547c6e3caa4b6278bcb30686e1faf6777b3f6 Best regards, -- Jens Axboe