tcmu: Add fifo type waiter list support to avoid starvation
The fifo type waiter list will hold the udevs who are waiting for the blocks from the data global pool. The unmap thread will try to feed the first udevs in waiter list, if the global free blocks available are not enough, it will stop traversing the list and abort waking up the others. Signed-off-by:Xiubo Li <lixiubo@cmss.chinamobile.com> Reviewed-by:
Mike Christie <mchristi@redhat.com> Signed-off-by:
Nicholas Bellinger <nab@linux-iscsi.org>
parent
6bcbb317
Please register or sign in to comment