+53
−10
Loading
Change num_fds type from signed to unsigned int. The epoll file descriptor for a fd group waits for interrupt event on the fds from its interrupt sources list as well as from all its children fd group interrupt sources list. Update add, remove, nest and unnest APIs to track the correct number of fds registered in a fd group. Add a check to verify that interrupt sources list is empty before destroying the fd group. Change-Id: Ib06de08e1083579540f9d0d0ee5fb8db23caad11 Signed-off-by:Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25077 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>